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, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0, 0xFFFF, 9 0x0, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF, 0x0, 10 0xFFFF, 0xFFFF, 0x0}; 11 12 #define TEST_MSG "VCGTZH_F16" 13 #define INSN_NAME vcgtzh_f16 14 15 #define EXPECTED expected 16 17 #define INPUT_TYPE float16_t 18 #define OUTPUT_TYPE uint16_t 19 #define OUTPUT_TYPE_SIZE 16 20 21 /* Include the template for binary scalar operations. */ 22 #include "unary_scalar_op.inc" 23