blob: 94f0b8dc8c4d396821bebe37e7e7844ea27a007e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* { dg-do compile } */
/* This test checks for absolute memory operands. */
/* { dg-require-effective-target nonpic } */
/* { dg-options "-O2 -march=k8" } */
/* { dg-final { scan-assembler "and\[^\\n\]*magic" } } */
/* Should be done as "andw $32767, magic". */
static unsigned short magic;
void t(void)
{
magic%=(unsigned short)0x8000U;
}
|