Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / aarch64 / pr68651_1.c
blobef9456f538776e7db01ecf5473425aed9efd9de2
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mcpu=cortex-a53" } */
4 int
5 foo (int x)
7 return (x * 2) & 65535;
9 /* { dg-final { scan-assembler "ubfiz\tw\[0-9\]*, w\[0-9\]*.*\n" } } */
11 int
12 bar (int x, int y)
14 return (x * 2) | y;
16 /* { dg-final { scan-assembler "orr\tw\[0-9\]*, w\[0-9\]*, w\[0-9\]*, lsl 1.*\n" } } */