src/hotspot/cpu/x86/assembler_x86.cpp
changeset 59051 f0312c7d5b37
parent 58977 c6a789f495fe
equal deleted inserted replaced
59050:7bbaa3c416e7 59051:f0312c7d5b37
  9161   int encode = prefixq_and_encode(dst->encoding());
  9161   int encode = prefixq_and_encode(dst->encoding());
  9162   emit_int8((unsigned char)0xF7);
  9162   emit_int8((unsigned char)0xF7);
  9163   emit_int8((unsigned char)(0xD0 | encode));
  9163   emit_int8((unsigned char)(0xD0 | encode));
  9164 }
  9164 }
  9165 
  9165 
       
  9166 void Assembler::btsq(Address dst, int imm8) {
       
  9167   assert(isByte(imm8), "not a byte");
       
  9168   InstructionMark im(this);
       
  9169   prefixq(dst);
       
  9170   emit_int8((unsigned char)0x0F);
       
  9171   emit_int8((unsigned char)0xBA);
       
  9172   emit_operand(rbp /* 5 */, dst, 1);
       
  9173   emit_int8(imm8);
       
  9174 }
       
  9175 
       
  9176 void Assembler::btrq(Address dst, int imm8) {
       
  9177   assert(isByte(imm8), "not a byte");
       
  9178   InstructionMark im(this);
       
  9179   prefixq(dst);
       
  9180   emit_int8((unsigned char)0x0F);
       
  9181   emit_int8((unsigned char)0xBA);
       
  9182   emit_operand(rsi /* 6 */, dst, 1);
       
  9183   emit_int8(imm8);
       
  9184 }
       
  9185 
  9166 void Assembler::orq(Address dst, int32_t imm32) {
  9186 void Assembler::orq(Address dst, int32_t imm32) {
  9167   InstructionMark im(this);
  9187   InstructionMark im(this);
  9168   prefixq(dst);
  9188   prefixq(dst);
  9169   emit_int8((unsigned char)0x81);
  9189   emit_int8((unsigned char)0x81);
  9170   emit_operand(rcx, dst, 4);
  9190   emit_operand(rcx, dst, 4);