8343506: [s390x] multiple test failures with ubsan

Reviewed-by: mdoerr, lucy
This commit is contained in:
Amit Kumar 2024-11-08 12:46:17 +00:00
parent 96eed7fa6c
commit f6edfe58d6

View File

@ -2547,7 +2547,7 @@ operand uimmI8() %{
// operand type int // operand type int
// Unsigned Integer Immediate: 9-bit // Unsigned Integer Immediate: 9-bit
operand SSlenDW() %{ operand SSlenDW() %{
predicate(Immediate::is_uimm8(n->get_long()-1)); predicate(Immediate::is_uimm8((julong)n->get_long()-1));
match(ConL); match(ConL);
op_cost(1); op_cost(1);
format %{ %} format %{ %}