Debian Codegraph @

gcc/testsuite/gcc.target/arm/mve/intrinsics/sqrshr.c

raw
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 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 /*
13 **foo:
14 ** ...
15 ** sqrshr (?:ip|fp|r[0-9]+), (?:ip|fp|r[0-9]+)(?: @.*|)
16 ** ...
17 */
18 int32_t
19 foo (int32_t value, int32_t shift)
20 {
21 return sqrshr (value, shift);
22 }
23
24 #ifdef __cplusplus
25 }
26 #endif
27
28 /* { dg-final { scan-assembler-not "__ARM_undef" } } */