2 /* { dg-options "-std=gnu99 -msse2 -mpreferred-stack-boundary=4" } */
3 /* { dg-require-effective-target sse2 } */
5 #include "sse2-check.h"
10 # define PUSH "pushq %rsi"
11 # define POP "popq %rsi"
13 # define PUSH "pushl %esi"
14 # define POP "popl %esi"
17 __m128i
__attribute__ ((__noinline__
))
18 vector_using_function ()
20 volatile __m128i vx
; /* We want to force a vector-aligned store into the stack. */
21 vx
= _mm_xor_si128 (vx
, vx
);
24 int __attribute__ ((__noinline__
, __force_align_arg_pointer__
))
25 self_aligning_function (int x
, int y
)
27 __m128i ignored
= vector_using_function ();
37 asm (PUSH
); /* Misalign runtime stack. */
38 result
= self_aligning_function (g_1
, g_2
);