--- a/src/hotspot/cpu/x86/x86_64.ad Tue Nov 26 16:09:21 2019 +0300
+++ b/src/hotspot/cpu/x86/x86_64.ad Tue Nov 26 16:09:23 2019 +0300
@@ -267,6 +267,9 @@
// Singleton class for RSI pointer register
reg_class ptr_rsi_reg(RSI, RSI_H);
+// Singleton class for RBP pointer register
+reg_class ptr_rbp_reg(RBP, RBP_H);
+
// Singleton class for RDI pointer register
reg_class ptr_rdi_reg(RDI, RDI_H);
@@ -3530,6 +3533,16 @@
interface(REG_INTER);
%}
+operand rbp_RegP()
+%{
+ constraint(ALLOC_IN_RC(ptr_rbp_reg));
+ match(RegP);
+ match(rRegP);
+
+ format %{ %}
+ interface(REG_INTER);
+%}
+
// Used in rep stosq
operand rdi_RegP()
%{