Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/asimd-mul-to-shl-sub.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-options "-Ofast" } */
4
5 /*
6 **foo:
7 ** shl (v[0-9]+.4s), v0.4s, 16
8 ** sub v0.4s, \1, v0.4s
9 ** ret
10 */
11 #include <arm_neon.h>
12 uint32x4_t foo (uint32x4_t a)
13 {
14 return a * 65535;
15 }
16
17 /* { dg-final { check-function-bodies "**" "" "" } } */