1 /* Test the `vRhaddQu16' ARM Neon intrinsic. */
2 /* This file was autogenerated by neon-testgen. */
4 /* { dg-do assemble } */
5 /* { dg-require-effective-target arm_neon_ok } */
6 /* { dg-options "-save-temps -O0 -mfpu=neon -mfloat-abi=softfp" } */
10 void test_vRhaddQu16 (void)
12 uint16x8_t out_uint16x8_t
;
13 uint16x8_t arg0_uint16x8_t
;
14 uint16x8_t arg1_uint16x8_t
;
16 out_uint16x8_t
= vrhaddq_u16 (arg0_uint16x8_t
, arg1_uint16x8_t
);
19 /* { dg-final { scan-assembler "vrhadd\.u16\[ \]+\[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
20 /* { dg-final { cleanup-saved-temps } } */