[aarch64] Document rewriting of -march=native to -mcpu=native
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / 20001205-1.c
blobd25d2f0f10256d70361d867313e8678e1778f619
1 /* { dg-do assemble } */
3 static inline unsigned long rdfpcr(void)
5 unsigned long tmp, ret;
6 __asm__ ("" : "=r"(tmp), "=r"(ret));
7 return ret;
10 static inline unsigned long
11 swcr_update_status(unsigned long swcr, unsigned long fpcr)
13 swcr &= ~0x7e0000ul;
14 swcr |= (fpcr >> 3) & 0x7e0000ul;
15 return swcr;
18 unsigned long osf_getsysinfo(unsigned long flags)
20 unsigned long w;
21 w = swcr_update_status(flags, rdfpcr());
22 return w;