mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
LibX86: Mark MMX instructions as SSE instructions
SSE2 expands on the same opcodes as MMX, so we have to mutate on prefix here.
This commit is contained in:
parent
5c19cfa55a
commit
5987f0a8f5
1 changed files with 3 additions and 3 deletions
|
@ -104,6 +104,9 @@ enum InstructionFormat {
|
||||||
OP_RM32_reg32_imm8,
|
OP_RM32_reg32_imm8,
|
||||||
OP_RM16_reg16_CL,
|
OP_RM16_reg16_CL,
|
||||||
OP_RM32_reg32_CL,
|
OP_RM32_reg32_CL,
|
||||||
|
// SSE instructions mutate on some prefixes, so we have to mark them
|
||||||
|
// for further parsing
|
||||||
|
__SSE,
|
||||||
OP_mm1_rm32,
|
OP_mm1_rm32,
|
||||||
OP_rm32_mm2,
|
OP_rm32_mm2,
|
||||||
OP_mm1_mm2m64,
|
OP_mm1_mm2m64,
|
||||||
|
@ -115,9 +118,6 @@ enum InstructionFormat {
|
||||||
OP_reg_mm1_imm8,
|
OP_reg_mm1_imm8,
|
||||||
OP_mm1_r32m16_imm8,
|
OP_mm1_r32m16_imm8,
|
||||||
|
|
||||||
// SSE instructions mutate on some prefixes, so we have to mark them
|
|
||||||
// for further parsing
|
|
||||||
__SSE,
|
|
||||||
OP_xmm1_xmm2m32,
|
OP_xmm1_xmm2m32,
|
||||||
OP_xmm1_xmm2m64,
|
OP_xmm1_xmm2m64,
|
||||||
OP_xmm1_xmm2m128,
|
OP_xmm1_xmm2m128,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue