(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
aarch64/
advsimd-intrinsics/
vcvth_f16_s64_1.c
       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  int64_t input[] = { 123, -567, 0, 1024, -63, 169, -4, 77 };
       9  uint16_t expected[] = { 0x57B0 /* 123.0.  */, 0xE06E /* -567.0.  */,
      10  			0x0000 /* 0.0.  */, 0x6400 /* 1024.  */,
      11  			0xD3E0 /* -63.  */, 0x5948 /* 169.  */,
      12  			0xC400 /* -4.  */, 0x54D0 /* 77.  */ };
      13  
      14  #define TEST_MSG "VCVTH_F16_S64"
      15  #define INSN_NAME vcvth_f16_s64
      16  
      17  #define EXPECTED expected
      18  
      19  #define INPUT input
      20  #define INPUT_TYPE int64_t
      21  #define OUTPUT_TYPE float16_t
      22  #define OUTPUT_TYPE_SIZE 16
      23  
      24  /* Include the template for binary scalar operations.  */
      25  #include "unary_scalar_op.inc"