Commit 63572683 authored by Milad Fa's avatar Milad Fa Committed by Commit Bot

PPC: Add VC form opcodes to the disassembler

Change-Id: I06633381ad6bfd84090e7553404425d28a90f47a
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2765443Reviewed-by: 's avatarJunliang Yan <junyan@redhat.com>
Commit-Queue: Milad Fa <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/master@{#73450}
parent 7073b1a6
......@@ -412,6 +412,16 @@ void Decoder::DecodeExt0(Instruction* instr) {
}
PPC_VA_OPCODE_A_FORM_LIST(DECODE_VA_A_FORM__INSTRUCTIONS)
#undef DECODE_VA_A_FORM__INSTRUCTIONS
}
switch (EXT0 | (instr->BitField(9, 0))) {
// TODO(miladfarca): Fix RC indicator.
#define DECODE_VC_FORM__INSTRUCTIONS(name, opcode_name, opcode_value) \
case opcode_name: { \
Format(instr, #name " 'Vt, 'Va, 'Vb"); \
return; \
}
PPC_VC_OPCODE_LIST(DECODE_VC_FORM__INSTRUCTIONS)
#undef DECODE_VC_FORM__INSTRUCTIONS
}
switch (EXT0 | (instr->BitField(10, 0))) {
#define DECODE_VX_A_FORM__INSTRUCTIONS(name, opcode_name, opcode_value) \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment