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*-*-* } } */ 5 6 #include <arm_fp16.h> 7 8 uint16_t expected[] = { 0x0, 0x0, 0x0, 0x0, 0x0, 0xFFFF, 0xFFFF, 0x0, 0xFFFF, 9 0x0, 0x0, 0x0, 0x0, 0xFFFF, 0xFFFF, 0xFFFF, 0x0, 0x0}; 10 11 #define TEST_MSG "VCAGTH_F16" 12 #define INSN_NAME vcagth_f16 13 14 #define EXPECTED expected 15 16 #define INPUT_TYPE float16_t 17 #define OUTPUT_TYPE uint16_t 18 #define OUTPUT_TYPE_SIZE 16 19 20 /* Include the template for binary scalar operations. */ 21 #include "binary_scalar_op.inc" 22