RISC-V: Work around bare apostrophe in error string.
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / advsimd-intrinsics / vcvtmh_u64_f16_1.c
blobcae69a347047f2a56e34aedf4e64622a636628a0
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*-*-* } } */
6 #include <arm_fp16.h>
8 /* Input values. */
9 float16_t input[] = { 123.9, 56.8, 0.7, 24.6, 63.5, 169.4, 4.3, 77.0 };
10 uint64_t expected[] = { 123, 56, 0, 24, 63, 169, 4, 77 };
12 #define TEST_MSG "VCVTMH_u64_F16"
13 #define INSN_NAME vcvtmh_u64_f16
15 #define INPUT input
16 #define EXPECTED expected
18 #define INPUT_TYPE float16_t
19 #define OUTPUT_TYPE uint64_t
20 #define OUTPUT_TYPE_SIZE 64
22 /* Include the template for unary scalar operations. */
23 #include "unary_scalar_op.inc"