]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.target/arm/mve/intrinsics/vqdmulhq_n_s8.c
arm: improve tests for vqdmul*
[gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vqdmulhq_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-final { check-function-bodies "**" "" } } */
5
6 #include "arm_mve.h"
7
8 /*
9 **foo:
10 ** ...
11 ** vqdmulh.s8 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
12 ** ...
13 */
14 int8x16_t
15 foo (int8x16_t a, int8_t b)
16 {
17 return vqdmulhq_n_s8 (a, b);
18 }
19
20
21 /*
22 **foo1:
23 ** ...
24 ** vqdmulh.s8 q[0-9]+, q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
25 ** ...
26 */
27 int8x16_t
28 foo1 (int8x16_t a, int8_t b)
29 {
30 return vqdmulhq (a, b);
31 }
32
33 /* { dg-final { scan-assembler-not "__ARM_undef" } } */
This page took 0.036815 seconds and 5 git commands to generate.