Enable gcc.dg/vect/vect-early-break_21.c on x86_64
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vcvtmh_s64_f16_1.c
blob7b5b16ff5698e00170af9fb1d6752dcc5b8227f2
1 /* { dg-do run } */
2 /* { dg-require-effective-target arm_v8_2a_fp16_scalar_hw } */
3 /* { dg-add-options arm_v8_2a_fp16_scalar } */
4 /* { dg-skip-if "" { arm*-*-* } } */
6 #include <arm_fp16.h>
8 /* Input values. */
9 float16_t input[] = { 123.9, -56.8, 0.7, 24.6, -63.5, 169.4, -4.3, 77.0 };
10 int64_t expected[] = { 123, -57, 0, 24, -64, 169, -5, 77 };
12 #define TEST_MSG "VCVTMH_S64_F16"
13 #define INSN_NAME vcvtmh_s64_f16
15 #define INPUT input
16 #define EXPECTED expected
18 #define INPUT_TYPE float16_t
19 #define OUTPUT_TYPE int64_t
20 #define OUTPUT_TYPE_SIZE 64
22 /* Include the template for unary scalar operations. */
23 #include "unary_scalar_op.inc"