diff mbox series

[committed] hppa: Fix shadd-2.c scan assembler count

Message ID 6cf81e3a-a2d7-3bb9-788c-69f6fd0eac5c@bell.net
State New
Headers show
Series [committed] hppa: Fix shadd-2.c scan assembler count | expand

Commit Message

John David Anglin Aug. 27, 2020, 8:10 p.m. UTC
Due to revisions to hppa_rtx_costs by Roger Sayle, we now have shift add instructions in
the shadd-2.c test.  Committed to trunk and gcc-10 branch.

Dave

Fix shadd-2.c scan assembler count.

2020-08-27  John David Anglin  <danglin@gcc.gnu.org>

gcc/testsuite/
	* gcc.target/hppa/shadd-2.c: Adjust times to 4.
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 34708e51597..b92f782cf0d 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" 2 } }  */
+/* { dg-final { scan-assembler-times "sh.add" 4 } }  */

 typedef struct rtx_def *rtx;
 typedef const struct rtx_def *const_rtx;