Commit 83ff1f25 by Jakub Jelinek Committed by Jakub Jelinek

* gcc.dg/i386-rotate-1.c: New test.

From-SVN: r89755
parent 53a8d0f0
2004-10-28 Jakub Jelinek <jakub@redhat.com>
* gcc.dg/i386-rotate-1.c: New test.
2004-10-27 Mark Mitchell <mark@codesourcery.com>
* g++.dg/init/ref12.C: Add "run" marker.
......
/* 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-*-* } } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment