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:
Igor Veresov 2010-12-27 21:51:31 -08:00
parent a8a98509e7
commit 43280aa63e
9 changed files with 133 additions and 20 deletions

View file

@ -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: