aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2018-09-14 16:05:42 +0000
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>2018-09-14 16:05:42 +0000
commit1b1dfddf2c8a0ea1a9cda295107f3c2680b38d9b (patch)
tree1bddbf512beb879a6b7bbd590dd06fd2b2862392 /gcc
parent0c2d23711d8b5f8ecc869d6ade407f23e37ac82c (diff)
downloadgcc-1b1dfddf2c8a0ea1a9cda295107f3c2680b38d9b.zip
gcc-1b1dfddf2c8a0ea1a9cda295107f3c2680b38d9b.tar.gz
gcc-1b1dfddf2c8a0ea1a9cda295107f3c2680b38d9b.tar.bz2
[AArch64][committed] Fix gcc.target/aarch64/combine_bfi_1.c
This test started failing because some of the functions in the combine dump that it scans uses a different pattern to match the same instruction: insv_regsi rather than aarch64_bfi. The code generation is still the same. The patch changes the scan to look for the actual instruction we want in the assembly. This fixes the test. Committing to trunk as obvious. * gcc.target/aarch64/combine_bfi_1.c: Scan for bfi instruction rather than pattern name in combine dump. From-SVN: r264323
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.target/aarch64/combine_bfi_1.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index fcec319..b065b40 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2018-09-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
+
+ * gcc.target/aarch64/combine_bfi_1.c: Scan for bfi instruction
+ rather than pattern name in combine dump.
+
2018-09-14 Sam Tebbs <sam.tebbs@arm.com>
PR target/85628
diff --git a/gcc/testsuite/gcc.target/aarch64/combine_bfi_1.c b/gcc/testsuite/gcc.target/aarch64/combine_bfi_1.c
index 9cc3bdb..cee42cc 100644
--- a/gcc/testsuite/gcc.target/aarch64/combine_bfi_1.c
+++ b/gcc/testsuite/gcc.target/aarch64/combine_bfi_1.c
@@ -1,5 +1,5 @@
/* { dg-do compile } */
-/* { dg-options "-O2 -fdump-rtl-combine" } */
+/* { dg-options "-O2" } */
int
f1 (int x, int y)
@@ -31,4 +31,4 @@ f5 (long long x, long long y)
return (x & ~0xffffffffull) | (y & 0xffffffff);
}
-/* { dg-final { scan-rtl-dump-times "\\*aarch64_bfi" 5 "combine" } } */
+/* { dg-final { scan-assembler-times {\tbfi\t} 5 } } */