blob: 0b9ae5a8c138d36233105a3a63874f0d8971db25 [file] [log] [blame]
/* Verify that rolb instruction is emitted on IA-32/x86-64. */
/* { dg-do compile } */
/* { dg-options "-O2" } */
void foo (unsigned char *);
int
main (void)
{
unsigned char c = 0;
foo (&c);
c = c >> 1 | c << 7;
return c;
}
/* { dg-final { scan-assembler "rolb" { target i?86-*-* x86_64-*-* } } } */