OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / arm / neon / vbslQs16.c
1 /* Test the `vbslQs16' 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_vbslQs16 (void)
11 {
12   int16x8_t out_int16x8_t;
13   uint16x8_t arg0_uint16x8_t;
14   int16x8_t arg1_int16x8_t;
15   int16x8_t arg2_int16x8_t;
16
17   out_int16x8_t = vbslq_s16 (arg0_uint16x8_t, arg1_int16x8_t, arg2_int16x8_t);
18 }
19
20 /* { dg-final { scan-assembler "((vbsl)|(vbit)|(vbif))\[        \]+\[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+!?\(\[         \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
21 /* { dg-final { cleanup-saved-temps } } */