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
9 #define CHECK_H "sse-check.h"
15 #define TEST sse_test_cvtpspi16_1
18 #include <xmmintrin.h>
21 __attribute__((noinline
, unused
))
24 return _mm_cvtps_pi16 (p
);
34 s1
.x
= _mm_setr_ps (24.43, 68.546, 43.35, -546.46);
37 e
= _mm_setr_pi16 (24, 69, 43, -546);