blob: 0d353859b4d90ff82dce305ab97c17c6bf756e80 [file] [log] [blame]
/* { dg-do run } */
/* { dg-require-effective-target arm_v8_2a_fp16_scalar_hw } */
/* { dg-add-options arm_v8_2a_fp16_scalar } */
/* { dg-skip-if "" { arm*-*-* } } */
#include <arm_fp16.h>
uint16_t expected[] = { 0x0, 0x0, 0xFFFF, 0x0, 0x0, 0xFFFF, 0x0, 0xFFFF,
0x0, 0x0, 0xFFFF, 0x0, 0xFFFF, 0xFFFF, 0x0, 0xFFFF,
0xFFFF, 0x0};
#define TEST_MSG "VCGTH_F16"
#define INSN_NAME vcgth_f16
#define EXPECTED expected
#define INPUT_TYPE float16_t
#define OUTPUT_TYPE uint16_t
#define OUTPUT_TYPE_SIZE 16
/* Include the template for binary scalar operations. */
#include "binary_scalar_op.inc"