Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/vclezh_f16_1.c

raw
1 /* { dg-require-effective-target arm_v8_2a_fp16_scalar_hw } */
2 /* { dg-add-options arm_v8_2a_fp16_scalar } */
3 /* { dg-skip-if "" { arm*-*-* } } */
4
5 #include <arm_fp16.h>
6
7 uint16_t expected[] = { 0xFFFF, 0xFFFF, 0x0, 0x0, 0x0, 0x0, 0xFFFF, 0x0, 0xFFFF,
8 0x0, 0x0, 0x0, 0x0, 0x0, 0xFFFF, 0x0, 0x0, 0xFFFF};
9
10 #define TEST_MSG "VCLEZH_F16"
11 #define INSN_NAME vclezh_f16
12
13 #define EXPECTED expected
14
15 #define INPUT_TYPE float16_t
16 #define OUTPUT_TYPE uint16_t
17 #define OUTPUT_TYPE_SIZE 16
18
19 /* Include the template for binary scalar operations. */
20 #include "unary_scalar_op.inc"