From dcf34383f62a40e8f19d780d9f23911892b15d8f Mon Sep 17 00:00:00 2001 From: Milad Fa Date: Fri, 17 Jun 2022 15:50:11 -0400 Subject: [PATCH] PPC: fix fcfid on disassembler This CL corrects the selection and print of fcfid variations (singe and double precision). Change-Id: I438a76793ec5fdb814ea6bc46bd0a2b0c9b2acd2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3712063 Reviewed-by: Junliang Yan Commit-Queue: Milad Farazmand Cr-Commit-Position: refs/heads/main@{#81226} --- src/diagnostics/ppc/disasm-ppc.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/diagnostics/ppc/disasm-ppc.cc b/src/diagnostics/ppc/disasm-ppc.cc index 2539d90b69..88a14da017 100644 --- a/src/diagnostics/ppc/disasm-ppc.cc +++ b/src/diagnostics/ppc/disasm-ppc.cc @@ -1335,10 +1335,18 @@ void Decoder::DecodeExt2(Instruction* instr) { void Decoder::DecodeExt3(Instruction* instr) { switch (EXT3 | (instr->BitField(10, 1))) { case FCFID: { + Format(instr, "fcfid'. 'Dt, 'Db"); + break; + } + case FCFIDS: { Format(instr, "fcfids'. 'Dt, 'Db"); break; } case FCFIDU: { + Format(instr, "fcfidu'. 'Dt, 'Db"); + break; + } + case FCFIDUS: { Format(instr, "fcfidus'.'Dt, 'Db"); break; }