2 /* { dg-options "-O3 -mpower8-vector" } */
3 /* { dg-require-effective-target lp64 } */
4 /* { dg-require-effective-target p8vector_hw } */
6 #define NO_WARN_X86_INTRINSICS 1
8 #define CHECK_H "mmx-check.h"
22 __attribute__((noinline
, unused
))
25 return _mm_sra_pi16 (s1
, N
);
35 s1
.as_m64
= _mm_setr_pi16 (1, -2, 0x7000, 0x9000);
36 u
.as_m64
= test (s1
.as_m64
);
39 for (i
= 0; i
< 4; i
++)
40 e
.as_short
[i
] = s1
.as_short
[i
] >> N
;
42 if (u
.as_m64
!= e
.as_m64
)