Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
gcc.target
/
aarch64
/
cmp_shifted_reg_1.c
blob: cacecf4e71d2b74132eadfe97078a99fbf3fb811 [
file
] [
log
] [
blame
]
/* { dg-do compile } */
/* { dg-options "-O2 " } */
int
f3
(
int
x
,
int
y
)
{
int
res
=
x
<<
3
;
return
res
!=
0
;
}
/* We should combine the shift and compare */
/* { dg-final { scan-assembler "cmp\.*\twzr, w\[0-9\]+, lsl 3" } } */