OSDN Git Service

Add NIOS2 support. Code from SourceyG++.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.target / arm / neon / vqsubQu8.c
1 /* Test the `vqsubQu8' 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_vqsubQu8 (void)
11 {
12   uint8x16_t out_uint8x16_t;
13   uint8x16_t arg0_uint8x16_t;
14   uint8x16_t arg1_uint8x16_t;
15
16   out_uint8x16_t = vqsubq_u8 (arg0_uint8x16_t, arg1_uint8x16_t);
17 }
18
19 /* { dg-final { scan-assembler "vqsub\.u8\[     \]+\[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+, \[qQ\]\[0-9\]+!?\(\[         \]+@\[a-zA-Z0-9 \]+\)?\n" } } */
20 /* { dg-final { cleanup-saved-temps } } */