8178033: C1 crashes with -XX:UseAVX = 3: "not a mov [reg+offs], reg instruction"

Skip the EVEX prefix such that the instruction address points to the prefixed opcode.

Reviewed-by: kvn, mcberg
This commit is contained in:
Tobias Hartmann 2017-04-06 08:19:42 +02:00
parent d28f63fb9e
commit a8a97e6625
3 changed files with 6 additions and 1 deletions

View file

@ -356,6 +356,7 @@ class NativeMovRegMem: public NativeInstruction {
instruction_VEX_prefix_2bytes = Assembler::VEX_2bytes,
instruction_VEX_prefix_3bytes = Assembler::VEX_3bytes,
instruction_EVEX_prefix_4bytes = Assembler::EVEX_4bytes,
instruction_size = 4,
instruction_offset = 0,