mirror of
https://github.com/openjdk/jdk.git
synced 2026-08-04 15:15:23 +00:00
x86 review fixes
This commit is contained in:
parent
7bb4b0d6e3
commit
09f6af58df
@ -1464,8 +1464,8 @@ void LIR_Assembler::emit_opTypeCheck(LIR_OpTypeCheck* op) {
|
||||
Label* success_target = &done;
|
||||
Label* failure_target = stub->entry();
|
||||
|
||||
__ testptr(value, value);
|
||||
if (op->should_profile()) {
|
||||
__ testptr(value, value);
|
||||
Label not_null;
|
||||
Register mdo = klass_RInfo;
|
||||
__ mov_metadata(mdo, md->constant_encoding());
|
||||
|
||||
@ -275,7 +275,7 @@ void C1_MacroAssembler::step_random(Register state, Register temp) {
|
||||
/* CRC used as a pseudo-random-number generator */
|
||||
// In effect, the CRC instruction is being used here for its
|
||||
// linear feedback shift register.
|
||||
movl(temp, 0);
|
||||
xorl(temp, temp);
|
||||
crc32(state, temp, /*sizeInBytes*/2);
|
||||
} else {
|
||||
/* LCG by Marsaglia. From Karl Entacher,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user