OLD | NEW |
1 /* Test the `vget_lowf32' ARM Neon intrinsic. */ | 1 /* Test the `vget_lowf32' ARM Neon intrinsic. */ |
2 /* This file was autogenerated by neon-testgen. */ | 2 /* This file was autogenerated by neon-testgen. */ |
3 | 3 |
4 /* { dg-do assemble } */ | 4 /* { dg-do assemble } */ |
5 /* { dg-require-effective-target arm_neon_ok } */ | 5 /* { dg-require-effective-target arm_neon_ok } */ |
6 /* { dg-options "-save-temps -O0 -mfpu=neon -mfloat-abi=softfp" } */ | 6 /* { dg-options "-save-temps -O0 -mfpu=neon -mfloat-abi=softfp" } */ |
7 | 7 |
8 #include "arm_neon.h" | 8 #include "arm_neon.h" |
9 | 9 |
10 void test_vget_lowf32 (void) | 10 void test_vget_lowf32 (void) |
11 { | 11 { |
12 float32x2_t out_float32x2_t; | 12 register float32x2_t out_float32x2_t asm ("d18"); |
13 float32x4_t arg0_float32x4_t; | 13 float32x4_t arg0_float32x4_t; |
14 | 14 |
15 out_float32x2_t = vget_low_f32 (arg0_float32x4_t); | 15 out_float32x2_t = vget_low_f32 (arg0_float32x4_t); |
16 } | 16 } |
17 | 17 |
18 /* { dg-final { scan-assembler "vmov\[ \]+\[dD\]\[0-9\]+, \[dD\]\[0-9\]+!?\(\[
\]+@\[a-zA-Z0-9 \]+\)?\n" } } */ | 18 /* { dg-final { scan-assembler "vmov\[ \]+\[dD\]\[0-9\]+, \[dD\]\[0-9\]+!?\(\[
\]+@\[a-zA-Z0-9 \]+\)?\n" } } */ |
19 /* { dg-final { cleanup-saved-temps } } */ | 19 /* { dg-final { cleanup-saved-temps } } */ |
OLD | NEW |