diff mbox series

testsuite/s390: Change nle -> h in ifcvt tests.

Message ID 3c453243-37a9-021d-5ad5-c122290a51c5@linux.ibm.com
State New
Headers show
Series testsuite/s390: Change nle -> h in ifcvt tests. | expand

Commit Message

Robin Dapp April 4, 2022, 11:51 a.m. UTC
Hi,

we have been emitting the "higher" variantes instead of the "not less or
equal" ones for a while.  Change the test expectations accordingly.

OK for trunk?

Regards
 Robin

gcc/testsuite/ChangeLog:

	* gcc.target/s390/ifcvt-two-insns-bool.c: Change nle to h.
	* gcc.target/s390/ifcvt-two-insns-int.c: Dito.
	* gcc.target/s390/ifcvt-two-insns-long.c: Dito.


---

Comments

Andreas Krebbel April 5, 2022, 5:25 a.m. UTC | #1
On 4/4/22 13:51, Robin Dapp wrote:
> Hi,
> 
> we have been emitting the "higher" variantes instead of the "not less or
> equal" ones for a while.  Change the test expectations accordingly.
> 
> OK for trunk?
> 
> Regards
>  Robin
> 
> gcc/testsuite/ChangeLog:
> 
> 	* gcc.target/s390/ifcvt-two-insns-bool.c: Change nle to h.
> 	* gcc.target/s390/ifcvt-two-insns-int.c: Dito.
> 	* gcc.target/s390/ifcvt-two-insns-long.c: Dito.

Ok. Thanks!

Andreas
diff mbox series

Patch

diff --git a/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-bool.c
b/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-bool.c
index d2f18f58e45..df0416a71d8 100644
--- a/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-bool.c
+++ b/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-bool.c
@@ -3,8 +3,8 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -march=z13 --save-temps" } */

-/* { dg-final { scan-assembler "lochinle\t%r.?,1" } } */
-/* { dg-final { scan-assembler "locrnle\t.*" } } */
+/* { dg-final { scan-assembler "lochih\t%r.?,1" } } */
+/* { dg-final { scan-assembler "locrh\t.*" } } */
 #include <stdbool.h>
 #include <limits.h>
 #include <stdio.h>
diff --git a/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-int.c
b/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-int.c
index 031cc433f56..181173b91e9 100644
--- a/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-int.c
+++ b/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-int.c
@@ -3,8 +3,8 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -march=z13 --save-temps" } */

-/* { dg-final { scan-assembler "lochinle\t%r.?,1" } } */
-/* { dg-final { scan-assembler "locrnle\t.*" } } */
+/* { dg-final { scan-assembler "lochih\t%r.?,1" } } */
+/* { dg-final { scan-assembler "locrh\t.*" } } */
 #include <limits.h>
 #include <stdio.h>
 #include <assert.h>
diff --git a/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-long.c
b/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-long.c
index cd04d2ad33e..c66ef6cfdea 100644
--- a/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-long.c
+++ b/gcc/testsuite/gcc.target/s390/ifcvt-two-insns-long.c
@@ -3,8 +3,8 @@ 
 /* { dg-do run } */
 /* { dg-options "-O2 -march=z13 --save-temps" } */

-/* { dg-final { scan-assembler "locghinle\t%r.?,1" } } */
-/* { dg-final { scan-assembler "locgrnle\t.*" } } */
+/* { dg-final { scan-assembler "locghih\t%r.?,1" } } */
+/* { dg-final { scan-assembler "locgrh\t.*" } } */
 #include <limits.h>
 #include <stdio.h>
 #include <assert.h>