gcc/testsuite/gcc.target/i386/pr116274.c
raw| 1 | /* { dg-do compile { target { ! ia32 } } } */ |
| 2 | /* { dg-options "-O3 -fno-vect-cost-model -msse4.1" } */ |
| 3 | |
| 4 | struct aq { long x,y; }; |
| 5 | long testq(struct aq a) { return a.x+a.y; } |
| 6 | |
| 7 | struct aw { short a0,a1,a2,a3,a4,a5,a6,a7; }; |
| 8 | short testw(struct aw a) { return a.a0+a.a1+a.a2+a.a3+a.a4+a.a5+a.a6+a.a7; } |
| 9 | |
| 10 | struct ad { int x,y,z,w; }; |
| 11 | int testd(struct ad a) { return a.x+a.y+a.z+a.w; } |
| 12 | /* { dg-final { scan-assembler-not "%rsp" } } */ |