RISC-V: Add support for riscv-*-*.
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / xopt.c
blobb1a50f86cef2c0092649dab03ab5ea865fb3125f
1 proc1 (a)
2 unsigned a;
4 return (a >> 20) & 0x010fffff;
7 proc2 (a)
8 unsigned a;
10 return (a << 17) & 0xfffff001;
13 proc3 (a)
14 unsigned a;
16 return (a & 0xff00000a) >> 25;
19 proc4 (a)
20 unsigned a;
22 return (a & 0x100000ff) << 25;
25 proc5 (a)
26 unsigned a;
28 return (unsigned char) (a >> 24);
31 proc6 (a)
32 unsigned a;
34 return ((unsigned char) a) << 30;