From f82e44cc406f14a818b23d443f3d3eee55537e7d Mon Sep 17 00:00:00 2001 From: Aleksey Shipilev Date: Fri, 3 Apr 2020 11:33:29 +0200 Subject: [PATCH] 8242073: x86_32 build failure after JDK-8241040 Reviewed-by: vlivanov --- src/hotspot/cpu/x86/x86_32.ad | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/hotspot/cpu/x86/x86_32.ad b/src/hotspot/cpu/x86/x86_32.ad index 959eadbf48f..59196f6811c 100644 --- a/src/hotspot/cpu/x86/x86_32.ad +++ b/src/hotspot/cpu/x86/x86_32.ad @@ -3369,6 +3369,15 @@ operand immI8() %{ interface(CONST_INTER); %} +operand immU8() %{ + predicate((0 <= n->get_int()) && (n->get_int() <= 255)); + match(ConI); + + op_cost(5); + format %{ %} + interface(CONST_INTER); +%} + operand immI16() %{ predicate((-32768 <= n->get_int()) && (n->get_int() <= 32767)); match(ConI);