diff mbox series

[COMMITTED] hppa: Adjust shadd-2 and shadd-3 scan counts

Message ID YdH2TKtKJidyV4xg@mx3210.localdomain
State Committed
Commit 6bec6e3aaa306ca7b87d6e6654acca546fa25e90
Headers show
Series [COMMITTED] hppa: Adjust shadd-2 and shadd-3 scan counts | expand

Commit Message

John David Anglin Jan. 2, 2022, 7 p.m. UTC
Fixes shadd-2.c and shadd-3.c test fails on trunk.

Committed to trunk.

Dave
---

Adjust shadd-2 and shadd-3 scan counts.

2022-01-02  John David Anglin  <danglin@gcc.gnu.org>

gcc/testsuite/ChangeLog:

	* gcc.target/hppa/shadd-2.c: Adjust count to 3.
	* gcc.target/hppa/shadd-3.c: Likewise.
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/hppa/shadd-2.c b/gcc/testsuite/gcc.target/hppa/shadd-2.c
index b92f782cf0d..74d4fcd146e 100644
--- a/gcc/testsuite/gcc.target/hppa/shadd-2.c
+++ b/gcc/testsuite/gcc.target/hppa/shadd-2.c
@@ -1,6 +1,6 @@ 
 /* { dg-do compile }  */
 /* { dg-options "-O2" }  */
-/* { dg-final { scan-assembler-times "sh.add" 4 } }  */
+/* { dg-final { scan-assembler-times "sh.add" 3 } }  */
 
 typedef struct rtx_def *rtx;
 typedef const struct rtx_def *const_rtx;
diff --git a/gcc/testsuite/gcc.target/hppa/shadd-3.c b/gcc/testsuite/gcc.target/hppa/shadd-3.c
index 2d0b648f384..a0c1f663d56 100644
--- a/gcc/testsuite/gcc.target/hppa/shadd-3.c
+++ b/gcc/testsuite/gcc.target/hppa/shadd-3.c
@@ -10,7 +10,7 @@ 
    over time we'll have to revisit the combine and/or postreload
    dumps.  Note we have disabled delay slot filling to improve
    test stability.  */
-/* { dg-final { scan-assembler-times "sh.add" 4 } }  */
+/* { dg-final { scan-assembler-times "sh.add" 3 } }  */
 
 extern void oof (void);
 typedef struct simple_bitmap_def *sbitmap;