1 /* Test the `vRhaddQu8' 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_vRhaddQu8 (void)
12 uint8x16_t out_uint8x16_t
;
13 uint8x16_t arg0_uint8x16_t
;
14 uint8x16_t arg1_uint8x16_t
;
16 out_uint8x16_t
= vrhaddq_u8 (arg0_uint8x16_t
, arg1_uint8x16_t
);
19 /* { dg-final { scan-assembler "vrhadd\.u8\[ \]+\[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+!?\(\[ \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
20 /* { dg-final { cleanup-saved-temps } } */