i386: Fix scalar VCOMSBF16 which only compares low word
[official-gcc.git] / gcc / testsuite / gcc.target / arm / mve / intrinsics / vabsq_f32.c
blob9f2955829f89287bbdf7e5ad51a7c5f612b08c19
1 /* { dg-require-effective-target arm_v8_1m_mve_fp_ok } */
2 /* { dg-add-options arm_v8_1m_mve_fp } */
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 ** vabs.f32 q[0-9]+, q[0-9]+(?: @.*|)
16 ** ...
18 float32x4_t
19 foo (float32x4_t a)
21 return vabsq_f32 (a);
26 **foo1:
27 ** ...
28 ** vabs.f32 q[0-9]+, q[0-9]+(?: @.*|)
29 ** ...
31 float32x4_t
32 foo1 (float32x4_t a)
34 return vabsq (a);
37 #ifdef __cplusplus
39 #endif
41 /* { dg-final { scan-assembler-not "__ARM_undef" } } */