aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/gcc.target/i386/movq.c
blob: ac0dfa2d94d163c119e955cfe4cb69b201cfa8f6 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile }
/* { dg-options "-Os -march=pentium4 -mtune=prescott" } */
/* { dg-require-effective-target ilp32 } */

register char foo asm("edi");
char x;
int bar() {
  foo = x;
}
/* { dg-final { scan-assembler "movz" } } */