2005-06-07 Dale Johannesen <dalej@apple.com>
authordalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Jun 2005 03:24:28 +0000 (03:24 +0000)
committerdalej <dalej@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Jun 2005 03:24:28 +0000 (03:24 +0000)
* gcc.target/i386/movq.c:  New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100741 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/movq.c [new file with mode: 0644]

index 273420a..852c61d 100644 (file)
@@ -1,5 +1,9 @@
 2005-06-07  Dale Johannesen  <dalej@apple.com>
 
+       * gcc.target/i386/movq.c:  New.
+
+2005-06-07  Dale Johannesen  <dalej@apple.com>
+
        * gcc.dg/20050607-1.c:  New.
 
 2005-06-07  Jakub Jelinek  <jakub@redhat.com>
diff --git a/gcc/testsuite/gcc.target/i386/movq.c b/gcc/testsuite/gcc.target/i386/movq.c
new file mode 100644 (file)
index 0000000..cdb35ed
--- /dev/null
@@ -0,0 +1,8 @@
+/* { dg-do compile { target "i?86*-*-*" } }
+/* { dg-options "-Os -march=pentium4 -mtune=prescott" } */
+register char foo asm("edi");
+char x;
+int bar() {
+  foo = x;
+}
+/* { dg-final { scan-assembler "movz" } } */