2 /* { dg-options "-O3 -mvsx" } */
3 /* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */
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_sll_pi16 (s1
, N
);
35 s1
.as_m64
= _mm_setr_pi16 (1, 2, 0x7000, 0x9000);
36 u
.as_m64
= test (s1
.as_m64
);
40 for (i
= 0; i
< 4; i
++)
41 e
.as_short
[i
] = s1
.as_short
[i
] << N
;
43 if (u
.as_m64
!= e
.as_m64
)