changeset 58658:bef191d91990

8242073: x86_32 build failure after JDK-8241040 Reviewed-by: vlivanov
author shade
date Fri, 03 Apr 2020 11:33:29 +0200
parents 53e3f102cd4b
children 71acd699e4e6
files src/hotspot/cpu/x86/x86_32.ad
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/cpu/x86/x86_32.ad	Fri Apr 03 17:06:14 2020 +0800
+++ b/src/hotspot/cpu/x86/x86_32.ad	Fri Apr 03 11:33:29 2020 +0200
@@ -3369,6 +3369,15 @@
   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);