From b90d051ecbc1d8972ae1bf0cd7588fcc66df0722 Mon Sep 17 00:00:00 2001 From: Xionghu Luo Date: Sun, 31 Jan 2021 20:29:14 -0600 Subject: testsuite: Update pr79251 ilp32 store regex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 * gcc.target/powerpc/pr79251.p8.c: Update store count regex. * gcc.target/powerpc/pr79251.p9.c: Likewise. --- gcc/testsuite/gcc.target/powerpc/pr79251.p8.c | 2 +- gcc/testsuite/gcc.target/powerpc/pr79251.p9.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc') 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 } } } */ -- cgit v1.1