mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
7009231: C1: Incorrect CAS code for longs on SPARC 32bit
Fix CAS of longs on SPARC 32bit and cmove on SPARC 64bit. Reviewed-by: kvn
This commit is contained in:
parent
a8a98509e7
commit
43280aa63e
9 changed files with 133 additions and 20 deletions
|
@ -685,7 +685,7 @@ void LIR_Assembler::emit_op2(LIR_Op2* op) {
|
|||
break;
|
||||
|
||||
case lir_cmove:
|
||||
cmove(op->condition(), op->in_opr1(), op->in_opr2(), op->result_opr());
|
||||
cmove(op->condition(), op->in_opr1(), op->in_opr2(), op->result_opr(), op->type());
|
||||
break;
|
||||
|
||||
case lir_shl:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue