From 6bec6e3aaa306ca7b87d6e6654acca546fa25e90 Mon Sep 17 00:00:00 2001
From: John David Anglin <danglin@gcc.gnu.org>
Date: Sun, 2 Jan 2022 18:55:50 +0000
Subject: [PATCH] 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.
---
 gcc/testsuite/gcc.target/hppa/shadd-2.c | 2 +-
 gcc/testsuite/gcc.target/hppa/shadd-3.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/testsuite/gcc.target/hppa/shadd-2.c b/gcc/testsuite/gcc.target/hppa/shadd-2.c
index b92f782cf0d6..74d4fcd146e4 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 2d0b648f3842..a0c1f663d567 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;
-- 
GitLab