2 /* { dg-options "-O3 -mvsx -Wno-psabi" } */
3 /* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */
4 /* { dg-require-effective-target p8vector_hw } */
7 #define CHECK_H "sse2-check.h"
13 #define TEST sse2_test_psrlw_1
18 #include <emmintrin.h>
21 __attribute__((noinline
, unused
))
24 return _mm_srli_epi16 (s1
, N
);
35 s
.x
= _mm_set_epi16 (1, -2, 3, -4, 5, 6, 0x7000, 0x9000);
40 for (i
= 0; i
< 8; i
++)
46 if (check_union128i_w (u
, e
))