hotspot/src/cpu/x86/vm/assembler_x86.cpp
changeset 5253 d2c37eee9a65
parent 5053 4079ecbb654b
child 5416 5f6377fcfd3e
child 5402 c51fd0c1d005
equal deleted inserted replaced
5252:58f23871a5b6 5253:d2c37eee9a65
  3363   emit_byte(0xC0 | src->encoding() << 3 | dst->encoding());
  3363   emit_byte(0xC0 | src->encoding() << 3 | dst->encoding());
  3364 }
  3364 }
  3365 
  3365 
  3366 #else // LP64
  3366 #else // LP64
  3367 
  3367 
       
  3368 void Assembler::set_byte_if_not_zero(Register dst) {
       
  3369   int enc = prefix_and_encode(dst->encoding(), true);
       
  3370   emit_byte(0x0F);
       
  3371   emit_byte(0x95);
       
  3372   emit_byte(0xE0 | enc);
       
  3373 }
       
  3374 
  3368 // 64bit only pieces of the assembler
  3375 // 64bit only pieces of the assembler
  3369 // This should only be used by 64bit instructions that can use rip-relative
  3376 // This should only be used by 64bit instructions that can use rip-relative
  3370 // it cannot be used by instructions that want an immediate value.
  3377 // it cannot be used by instructions that want an immediate value.
  3371 
  3378 
  3372 bool Assembler::reachable(AddressLiteral adr) {
  3379 bool Assembler::reachable(AddressLiteral adr) {