Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / xstormy16 / data_below100 / 16_if1_b100w_bit_f.c
blob79b3839d8986140f5fc8c97645da6eb9cf9d7c23
1 /* { dg-options { -nostartfiles below100.o -Tbelow100.ld -O2 } } */
2 /* { dg-final { scan-assembler "b\[np\] B100A\\+1,#7," } } */
3 /* { dg-final { scan-assembler "b\[np\] B100B\\+1,#7," } } */
5 char acDummy[0xf0] __attribute__ ((__BELOW100__));
6 unsigned short B100A __attribute__ ((__BELOW100__)) = 0xedcb;
7 unsigned short *pA = &B100A;
8 unsigned short B100B __attribute__ ((__BELOW100__)) = 0x1234;
9 unsigned short *pB = &B100B;
11 char *
12 Do (void)
14 if (B100A & 0x8000)
16 if (B100B & 0x8000)
17 return "Fail";
18 else
19 return "Success";
21 else
22 return "Fail";
25 int
26 main (void)
28 return Do ()[0] == 'F';