Adjust 'libgomp.c/max_vf-*.c'
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vdupq_x_n_s16.c
blob9dcfe4e0376c4f911a6349dcb3fbf0a5717d599a
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 "**" "" } } */
6 #include "arm_mve.h"
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
13 **foo:
14 ** ...
15 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
16 ** ...
17 ** vpst(?: @.*|)
18 ** ...
19 ** vdupt.16 q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
20 ** ...
22 int16x8_t
23 foo (int16_t a, mve_pred16_t p)
25 return vdupq_x_n_s16 (a, p);
29 **foo1:
30 ** ...
31 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
32 ** ...
33 ** vpst(?: @.*|)
34 ** ...
35 ** vdupt.16 q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
36 ** ...
38 int16x8_t
39 foo1 (mve_pred16_t p)
41 return vdupq_x_n_s16 (1, p);
44 #ifdef __cplusplus
46 #endif
48 /* { dg-final { scan-assembler-not "__ARM_undef" } } */