Skip to content

Commit

Permalink
8259773: Incorrect encoding of AVX-512 kmovq instruction
Browse files Browse the repository at this point in the history
Reviewed-by: vlivanov
  • Loading branch information
Jatin Bhateja committed Jan 14, 2021
1 parent b8ef2ba commit ff3e6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/cpu/x86/assembler_x86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

1 comment on commit ff3e6e4

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.