The patch adds support for the following MIPS branch and likely instructions:
- BGEZALL
- BGTZL
- BLEZL
- BLTZL
New patch version prevents usage of branch likely instructions for
microMIPS and adds corresponding disassembler test cases.
Paths
| Differential D5883
[mips] Some MIPS branch and likely instructions ClosedPublic Authored by ipetkovic on Oct 21 2014, 8:20 AM.
Details
Summary The patch adds support for the following MIPS branch and likely instructions:
New patch version prevents usage of branch likely instructions for
Diff Detail Event Timelineipetkovic updated this object. vkalintiris added inline comments.
ipetkovic updated this object. Comment ActionsNew patch version prevents usage of branch likely instructions for dsanders edited edge metadata. Comment ActionsNotInMicroMips doesn't belong in InsnPredicates (and therefore does not belong in the ISA_* classes). It should be in the AdditionalPredicates list. The reason for this is that microMIPS is (almost) an alternate encoding rather than an alternate ISA. It accepts the same assembly instructions (although some become macros and this is what NotInMicroMips is currently handling). Eventually microMIPS will be represented properly in EncodingPredicates with predicates for standard/microMIPS/both encodings. This revision now requires changes to proceed.Nov 3 2014, 3:17 AM ipetkovic edited edge metadata. Comment ActionsNotInMicroMips defined in a AdditionalPredicates list for branch and likely instructions that are not featured in microMIPS. This revision is now accepted and ready to land.Nov 5 2014, 7:22 AM Herald added subscribers: atanasyan, arichardson, sdardis. · View Herald TranscriptJul 18 2019, 7:02 PM
Revision Contents
Diff 15799 lib/Target/Mips/MipsInstrInfo.td
test/MC/Disassembler/Mips/mips32.txt
test/MC/Disassembler/Mips/mips32_le.txt
|
Hi Igor, I added support for the branch likely instructions last week (see D5782 and D5802).
However, I didn't consider what happens in MicroMips mode as I don't know enough about it.