Value of offset operand for microMIPS BALC and BC instructions is currently shifted 2 bits, but it should be 1 bit.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with a couple nits
| lib/Target/Mips/Disassembler/MipsDisassembler.cpp | ||
|---|---|---|
| 1869 | They're functionally the same thing but I'd slightly prefer '<< 1' over '* 2' since we're talking about shifting bits rather than arithmetic. | |
| lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | ||
| 356–359 | Please format as clang-format would. | |
They're functionally the same thing but I'd slightly prefer '<< 1' over '* 2' since we're talking about shifting bits rather than arithmetic.