--- a/hotspot/src/cpu/x86/vm/x86_64.ad Wed Aug 17 06:23:04 2016 +0000
+++ b/hotspot/src/cpu/x86/vm/x86_64.ad Wed Aug 17 22:09:57 2016 +0300
@@ -986,7 +986,7 @@
emit_opcode(cbuf, 0x58 | RBP_enc);
if (StackReservedPages > 0 && C->has_reserved_stack_access()) {
- __ reserved_stack_check();
+ __ reserved_stack_check();
}
if (do_polling() && C->is_method_compilation()) {
@@ -7355,7 +7355,7 @@
"movzbl $res, $res" %}
opcode(0x0F, 0xB0);
ins_encode(lock_prefix,
- REX_reg_mem(newval, mem_ptr),
+ REX_breg_mem(newval, mem_ptr),
OpcP, OpcS,
reg_mem(newval, mem_ptr),
REX_breg(res), Opcode(0x0F), Opcode(0x94), reg(res), // sete
@@ -7380,7 +7380,7 @@
opcode(0x0F, 0xB1);
ins_encode(lock_prefix,
SizePrefix,
- REX_reg_mem(newval, mem_ptr),
+ REX_reg_mem(newval, mem_ptr),
OpcP, OpcS,
reg_mem(newval, mem_ptr),
REX_breg(res), Opcode(0x0F), Opcode(0x94), reg(res), // sete
@@ -7424,7 +7424,7 @@
"If rax == $mem_ptr then store $newval into $mem_ptr\n\t" %}
opcode(0x0F, 0xB0);
ins_encode(lock_prefix,
- REX_reg_mem(newval, mem_ptr),
+ REX_breg_mem(newval, mem_ptr),
OpcP, OpcS,
reg_mem(newval, mem_ptr) // lock cmpxchg
);