vect-mull-compile.c: Explicitly scan for instructions generated instead of number...
authorTejas Belagod <tejas.belagod@arm.com>
Tue, 8 Jan 2013 16:23:38 +0000 (16:23 +0000)
committerTejas Belagod <belagod@gcc.gnu.org>
Tue, 8 Jan 2013 16:23:38 +0000 (16:23 +0000)
2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>

* gcc.target/aarch64/vect-mull-compile.c: Explicitly scan for
instructions generated instead of number of occurances.

From-SVN: r195024

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/vect-mull-compile.c

index 303a4bca1ae7a5a9e626dec2b3397103421b6a01..eab4c351b29fae67450e55eb3d65c7465f37c919 100644 (file)
@@ -1,3 +1,8 @@
+2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
+
+       * gcc.target/aarch64/vect-mull-compile.c: Explicitly scan for 
+       instructions generated instead of number of occurances.
+
 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
 
        * gcc/testsuite/gcc.target/aarch64/vect-fcm-eq-d.c: New.
index e51eaee5429e40347cd1114924f257eb6530b617..e90c97ff32647345002a9f2c8dbee651982f915e 100644 (file)
@@ -10,7 +10,15 @@ DEF_MULL2 (DEF_MULLB)
 DEF_MULL2 (DEF_MULLH)
 DEF_MULL2 (DEF_MULLS)
 
-/* { dg-final { scan-assembler-times "smull v" 3 } } */
-/* { dg-final { scan-assembler-times "smull2 v" 3 } } */
-/* { dg-final { scan-assembler-times "umull v" 3 } } */
-/* { dg-final { scan-assembler-times "umull2 v" 3 } } */
+/* { dg-final { scan-assembler "smull\\tv\[0-9\]+\.8h"} } */
+/* { dg-final { scan-assembler "smull\\tv\[0-9\]+\.4s"} } */
+/* { dg-final { scan-assembler "smull\\tv\[0-9\]+\.2d"} } */
+/* { dg-final { scan-assembler "umull\\tv\[0-9\]+\.8h"} } */
+/* { dg-final { scan-assembler "umull\\tv\[0-9\]+\.4s"} } */
+/* { dg-final { scan-assembler "umull\\tv\[0-9\]+\.2d"} } */
+/* { dg-final { scan-assembler "smull2\\tv\[0-9\]+\.8h"} } */
+/* { dg-final { scan-assembler "smull2\\tv\[0-9\]+\.4s"} } */
+/* { dg-final { scan-assembler "smull2\\tv\[0-9\]+\.2d"} } */
+/* { dg-final { scan-assembler "umull2\\tv\[0-9\]+\.8h"} } */
+/* { dg-final { scan-assembler "umull2\\tv\[0-9\]+\.4s"} } */
+/* { dg-final { scan-assembler "umull2\\tv\[0-9\]+\.2d"} } */