]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.target/arm/mve/intrinsics/vsubq_n_s8.c
arm: improve tests for vmulq*
[gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vsubq_n_s8.c
1 /* { dg-require-effective-target arm_v8_1m_mve_ok } */
2 /* { dg-add-options arm_v8_1m_mve } */
3 /* { dg-additional-options "-O2" } */
4 /* { dg-additional-options "-O2" } */
5
6 #include "arm_mve.h"
7
8 int8x16_t
9 foo (int8x16_t a, int8_t b)
10 {
11 return vsubq_n_s8 (a, b);
12 }
13
14 /* { dg-final { scan-assembler "vsub.i8" } } */
15
16 int8x16_t
17 foo1 (int8x16_t a, int8_t b)
18 {
19 return vsubq (a, b);
20 }
21
22 /* { dg-final { scan-assembler "vsub.i8" } } */
This page took 0.03289 seconds and 5 git commands to generate.