diff options
author | Xionghu Luo <luoxhu@linux.ibm.com> | 2021-01-31 20:29:14 -0600 |
---|---|---|
committer | Xionghu Luo <luoxhu@linux.ibm.com> | 2021-01-31 21:01:38 -0600 |
commit | b90d051ecbc1d8972ae1bf0cd7588fcc66df0722 (patch) | |
tree | a2434c6640cba1518bc773c6e31d77df1cd9a935 /gcc | |
parent | 94d5ba26f93bbaf0644935b8891cb7fbf6225b03 (diff) | |
download | gcc-b90d051ecbc1d8972ae1bf0cd7588fcc66df0722.zip gcc-b90d051ecbc1d8972ae1bf0cd7588fcc66df0722.tar.gz gcc-b90d051ecbc1d8972ae1bf0cd7588fcc66df0722.tar.bz2 |
testsuite: Update pr79251 ilp32 store regex
BE ilp32 Linux generates extra stack stwu instructions which shouldn't
be counted in, \m … \M is needed around each instruction, not just the
beginning and end of the entire pattern.
gcc/testsuite/ChangeLog:
2021-02-01 Xionghu Luo <luoxhu@linux.ibm.com>
* gcc.target/powerpc/pr79251.p8.c: Update store count regex.
* gcc.target/powerpc/pr79251.p9.c: Likewise.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/pr79251.p8.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/pr79251.p9.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/powerpc/pr79251.p8.c b/gcc/testsuite/gcc.target/powerpc/pr79251.p8.c index b0e7732..178e02f 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79251.p8.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79251.p8.c @@ -16,7 +16,7 @@ /* { dg-final { scan-assembler-times {\mrlwinm\M} 10 { target ilp32 } } } */ /* { dg-final { scan-assembler-times {\mstxvw4x\M} 6 { target ilp32 } } } */ /* { dg-final { scan-assembler-times {\mstxvd2x\M} 4 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {\mstb|sth|stw|stfs|stfd\M} 12 { target ilp32 } } } */ +/* { dg-final { scan-assembler-times {\mstb\M|\msth\M|\mstw\M|\mstfs\M|\mstfd\M} 12 { target ilp32 } } } */ /* { dg-final { scan-assembler-times {\mlxvw4x\M} 6 { target ilp32 } } } */ /* { dg-final { scan-assembler-times {\mlxvd2x\M} 4 { target ilp32 } } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/pr79251.p9.c b/gcc/testsuite/gcc.target/powerpc/pr79251.p9.c index cedb0bf..2ae2da8 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr79251.p9.c +++ b/gcc/testsuite/gcc.target/powerpc/pr79251.p9.c @@ -17,6 +17,6 @@ /* { dg-final { scan-assembler-times {\mrlwinm\M} 10 { target ilp32 } } } */ /* { dg-final { scan-assembler-times {\mstxv\M} 10 { target ilp32 } } } */ -/* { dg-final { scan-assembler-times {\mstb|sth|stw|stfs|stfd\M} 12 { target ilp32 } } } */ +/* { dg-final { scan-assembler-times {\mstb\M|\msth\M|\mstw\M|\mstfs\M|\mstfd\M} 12 { target ilp32 } } } */ /* { dg-final { scan-assembler-times {\mlxv\M} 10 { target ilp32 } } } */ |