pr34256.c: Update number of mov insns for PIC targets.
authorUros Bizjak <ubizjak@gmail.com>
Sun, 24 Feb 2008 17:29:10 +0000 (18:29 +0100)
committerUros Bizjak <uros@gcc.gnu.org>
Sun, 24 Feb 2008 17:29:10 +0000 (18:29 +0100)
        * gcc.target/i386/pr34256.c: Update number of mov insns
        for PIC targets.

From-SVN: r132593

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr34256.c

index 6fc79d4130f54c8910780bf4cf714c11efc522b5..028a2d079c485ceb9b844132f35b55056c0bd598 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-24  Uros Bizjak  <ubizjak@gmail.com>
+
+       * gcc.target/i386/pr34256.c: Update number of mov insns
+       for PIC targets.
+
 2008-02-24  Diego Novillo  <dnovillo@google.com>
 
        http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
index 13628ff8fc9bc8d0063cfa3665f6fc99a893ce72..59afdfc1022067a8da1aead2f7e154f2168c48b9 100644 (file)
@@ -11,4 +11,5 @@ unsigned long long  foo(__m64 m) {
   return _mm_cvtm64_si64(_mm_add_pi32(x, y));
 }
 
-/* { dg-final { scan-assembler-times "mov" 2 } } */
+/* { dg-final { scan-assembler-times "mov" 2 { target nonpic } } } */
+/* { dg-final { scan-assembler-times "mov" 4 { target { ! nonpic } } } } */