From f6edfe58d6931b058a5fec722615740818711065 Mon Sep 17 00:00:00 2001 From: Amit Kumar Date: Fri, 8 Nov 2024 12:46:17 +0000 Subject: [PATCH] 8343506: [s390x] multiple test failures with ubsan Reviewed-by: mdoerr, lucy --- src/hotspot/cpu/s390/s390.ad | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hotspot/cpu/s390/s390.ad b/src/hotspot/cpu/s390/s390.ad index 288de48c105..561ffc9993c 100644 --- a/src/hotspot/cpu/s390/s390.ad +++ b/src/hotspot/cpu/s390/s390.ad @@ -2547,7 +2547,7 @@ operand uimmI8() %{ // operand type int // Unsigned Integer Immediate: 9-bit operand SSlenDW() %{ - predicate(Immediate::is_uimm8(n->get_long()-1)); + predicate(Immediate::is_uimm8((julong)n->get_long()-1)); match(ConL); op_cost(1); format %{ %}