[disasm] Fix FMA disassembly
R=gdeepti@chromium.org Bug: v8:13431 Change-Id: I26e5e1097913f03bc8f46a2fdb31da6864eb87b3 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3990785 Auto-Submit: Thibaud Michaud <thibaudm@chromium.org> Commit-Queue: Thibaud Michaud <thibaudm@chromium.org> Reviewed-by: Deepti Gandluri <gdeepti@chromium.org> Cr-Commit-Position: refs/heads/main@{#83990}
This commit is contained in:
parent
b231572f8f
commit
4902d55fd6
@ -752,16 +752,16 @@ int DisassemblerIA32::AVXInstruction(byte* data) {
|
||||
// have the same opcodes but differ by rex_w.
|
||||
if (vex_w()) {
|
||||
switch (opcode) {
|
||||
FMA_SS_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_PS_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_SD_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_PD_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
default: {
|
||||
UnimplementedInstruction();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
switch (opcode) {
|
||||
FMA_SD_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_PD_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_SS_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_PS_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
default: {
|
||||
UnimplementedInstruction();
|
||||
}
|
||||
|
@ -950,16 +950,16 @@ int DisassemblerX64::AVXInstruction(byte* data) {
|
||||
// have the same opcodes but differ by rex_w.
|
||||
if (rex_w()) {
|
||||
switch (opcode) {
|
||||
FMA_SS_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_PS_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_SD_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_PD_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
default: {
|
||||
UnimplementedInstruction();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
switch (opcode) {
|
||||
FMA_SD_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_PD_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_SS_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
FMA_PS_INSTRUCTION_LIST(DECLARE_FMA_DISASM)
|
||||
default: {
|
||||
UnimplementedInstruction();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user