gcc/
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / tfmode_off.c
blobea703f0ee0a8da8fe8573e03a1b14d7b33b74c61
1 /* { dg-do assemble } */
2 /* { dg-skip-if "" { powerpc-ibm-aix* } { "*" } { "" } } */
3 /* { dg-skip-if "no TFmode" { powerpc-*-eabi* } { "*" } { "" } } */
4 /* { dg-require-effective-target longdouble128 } */
5 /* { dg-options "-O2 -fno-align-functions -mtraceback=no -save-temps" } */
7 typedef float TFmode __attribute__ ((mode (TF)));
9 void w1 (void *x, TFmode y) { *(TFmode *) (x + 32767) = y; }
10 void w2 (void *x, TFmode y) { *(TFmode *) (x + 32766) = y; }
11 void w3 (void *x, TFmode y) { *(TFmode *) (x + 32765) = y; }
12 void w4 (void *x, TFmode y) { *(TFmode *) (x + 32764) = y; }
13 void w5 (void *x, TFmode y) { *(TFmode *) (x + 32763) = y; }
14 void w6 (void *x, TFmode y) { *(TFmode *) (x + 32762) = y; }
15 void w7 (void *x, TFmode y) { *(TFmode *) (x + 32761) = y; }
16 void w8 (void *x, TFmode y) { *(TFmode *) (x + 32760) = y; }
17 void w9 (void *x, TFmode y) { *(TFmode *) (x + 32759) = y; }
18 void w10 (void *x, TFmode y) { *(TFmode *) (x + 32758) = y; }
19 void w11 (void *x, TFmode y) { *(TFmode *) (x + 32757) = y; }
20 void w12 (void *x, TFmode y) { *(TFmode *) (x + 32756) = y; }
21 void w13 (void *x, TFmode y) { *(TFmode *) (x + 32755) = y; }
22 void w14 (void *x, TFmode y) { *(TFmode *) (x + 32754) = y; }
23 void w15 (void *x, TFmode y) { *(TFmode *) (x + 32753) = y; }
24 void w16 (void *x, TFmode y) { *(TFmode *) (x + 32752) = y; }
25 void w17 (void *x, TFmode y) { *(TFmode *) (x + 32751) = y; }
26 void w18 (void *x, TFmode y) { *(TFmode *) (x + 32750) = y; }
27 void w19 (void *x, TFmode y) { *(TFmode *) (x + 32749) = y; }
28 void w20 (void *x, TFmode y) { *(TFmode *) (x + 32748) = y; }
30 TFmode r1 (void *x) { return *(TFmode *) (x + 32767); }
31 TFmode r2 (void *x) { return *(TFmode *) (x + 32766); }
32 TFmode r3 (void *x) { return *(TFmode *) (x + 32765); }
33 TFmode r4 (void *x) { return *(TFmode *) (x + 32764); }
34 TFmode r5 (void *x) { return *(TFmode *) (x + 32763); }
35 TFmode r6 (void *x) { return *(TFmode *) (x + 32762); }
36 TFmode r7 (void *x) { return *(TFmode *) (x + 32761); }
37 TFmode r8 (void *x) { return *(TFmode *) (x + 32760); }
38 TFmode r9 (void *x) { return *(TFmode *) (x + 32759); }
39 TFmode r10 (void *x) { return *(TFmode *) (x + 32758); }
40 TFmode r11 (void *x) { return *(TFmode *) (x + 32757); }
41 TFmode r12 (void *x) { return *(TFmode *) (x + 32756); }
42 TFmode r13 (void *x) { return *(TFmode *) (x + 32755); }
43 TFmode r14 (void *x) { return *(TFmode *) (x + 32754); }
44 TFmode r15 (void *x) { return *(TFmode *) (x + 32753); }
45 TFmode r16 (void *x) { return *(TFmode *) (x + 32752); }
46 TFmode r17 (void *x) { return *(TFmode *) (x + 32751); }
47 TFmode r18 (void *x) { return *(TFmode *) (x + 32750); }
48 TFmode r19 (void *x) { return *(TFmode *) (x + 32749); }
49 TFmode r20 (void *x) { return *(TFmode *) (x + 32748); }
51 /* { dg-final { object-size text == 544 } } */
52 /* { dg-final { cleanup-saved-temps "tfmode_off" } } */