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 <junyan@redhat.com>
Commit-Queue: Milad Farazmand <mfarazma@redhat.com>
Cr-Commit-Position: refs/heads/main@{#81226}
This commit is contained in:
Milad Fa 2022-06-17 15:50:11 -04:00 committed by V8 LUCI CQ
parent 8b8e044fd2
commit dcf34383f6

View File

@ -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;
}