Enable gcc.dg/vect/vect-early-break_21.c on x86_64
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vminh_f16_1.c
blobd8efbcac693937ee4775d0be9348323d9e0999ba
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 #define A 123.4
10 #define B -567.8
11 #define C -34.8
12 #define D 1024
13 #define E 663.1
14 #define F 169.1
15 #define G -4.8
16 #define H 77
18 float16_t input_1[] = { A, B, C, D };
19 float16_t input_2[] = { E, F, G, H };
20 float16_t expected[] = { A, B, C, H };
22 #define TEST_MSG "VMINH_F16"
23 #define INSN_NAME vminh_f16
25 #define INPUT_1 input_1
26 #define INPUT_2 input_2
27 #define EXPECTED expected
29 #define INPUT_TYPE float16_t
30 #define OUTPUT_TYPE float16_t
31 #define OUTPUT_TYPE_SIZE 16
33 /* Include the template for unary scalar operations. */
34 #include "binary_scalar_op.inc"