Adjust 'libgomp.c/max_vf-*.c'
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vdupq_m_n_u32.c
blobf3a2c25f5abb91a202f63a38220940fa79dd5463
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.32 q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
20 ** ...
22 uint32x4_t
23 foo (uint32x4_t inactive, uint32_t a, mve_pred16_t p)
25 return vdupq_m_n_u32 (inactive, a, p);
30 **foo1:
31 ** ...
32 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
33 ** ...
34 ** vpst(?: @.*|)
35 ** ...
36 ** vdupt.32 q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
37 ** ...
39 uint32x4_t
40 foo1 (uint32x4_t inactive, uint32_t a, mve_pred16_t p)
42 return vdupq_m (inactive, a, p);
46 **foo2:
47 ** ...
48 ** vmsr p0, (?:ip|fp|r[0-9]+)(?: @.*|)
49 ** ...
50 ** vpst(?: @.*|)
51 ** ...
52 ** vdupt.32 q[0-9]+, (?:ip|fp|r[0-9]+)(?: @.*|)
53 ** ...
55 uint32x4_t
56 foo2 (uint32x4_t inactive, mve_pred16_t p)
58 return vdupq_m (inactive, 1, p);
61 #ifdef __cplusplus
63 #endif
65 /* { dg-final { scan-assembler-not "__ARM_undef" } } */