8259773: Incorrect encoding of AVX-512 kmovq instruction

Reviewed-by: vlivanov
This commit is contained in:
Jatin Bhateja 2021-01-14 13:20:06 +00:00
parent b8ef2bad52
commit ff3e6e46cd

View File

@ -2440,7 +2440,7 @@ void Assembler::kmovql(Address dst, KRegister src) {
InstructionMark im(this);
InstructionAttr attributes(AVX_128bit, /* vex_w */ true, /* legacy_mode */ true, /* no_mask_reg */ true, /* uses_vl */ false);
vex_prefix(dst, 0, src->encoding(), VEX_SIMD_NONE, VEX_OPCODE_0F, &attributes);
emit_int8((unsigned char)0x90);
emit_int8((unsigned char)0x91);
emit_operand((Register)src, dst);
}