Daily bump.
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr82260-2.c
blob14328fc9686c3de2db1334a78505b21d42bc391b
1 /* PR target/82260 */
2 /* { dg-do compile { target lp64 } } */
3 /* { dg-options "-Os -mtune=generic -masm=att -mtune-ctrl=^partial_reg_dependency -mno-bmi2" } */
4 /* { dg-final { scan-assembler-not {\mmovb\t%sil, %cl} } } */
5 /* { dg-final { scan-assembler {\mmovl\t%esi, %ecx} } } */
6 /* { dg-final { scan-assembler {\mmovb\t%dl, %cl} } } */
7 /* { dg-final { scan-assembler {\mmovb\t%r8b, %cl} } } */
9 int
10 foo (int x, int c)
12 return x >> c;
15 int
16 bar (int x, int y, int z)
18 return x >> z;
21 int
22 baz (int x, int y, int z, int u, int v)
24 return x >> v;