OSDN Git Service

gcc/
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / arm / neon / vRshr_ns64.c
1 /* Test the `vRshr_ns64' ARM Neon intrinsic.  */
2 /* This file was autogenerated by neon-testgen.  */
3
4 /* { dg-do assemble } */
5 /* { dg-require-effective-target arm_neon_ok } */
6 /* { dg-options "-save-temps -O0 -mfpu=neon -mfloat-abi=softfp" } */
7
8 #include "arm_neon.h"
9
10 void test_vRshr_ns64 (void)
11 {
12   int64x1_t out_int64x1_t;
13   int64x1_t arg0_int64x1_t;
14
15   out_int64x1_t = vrshr_n_s64 (arg0_int64x1_t, 1);
16 }
17
18 /* { dg-final { scan-assembler "vrshr\.s64\[    \]+\[dD\]\[0-9\]+, \[dD\]\[0-9\]+, #\[0-9\]+!?\(\[      \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
19 /* { dg-final { cleanup-saved-temps } } */