The patch implements microMIPSr6 DERET and DI instructions and adds size operand check for EXT and DEXT* instructions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks for adding some checking to the size operand of ext.
LGTM with a couple nits
lib/Target/Mips/MicroMips32r6InstrInfo.td | ||
---|---|---|
55–56 ↗ | (On Diff #43001) | These two are in POOL32A. I must have missed this when EI was added. |
lib/Target/Mips/MicroMips64r6InstrInfo.td | ||
68–73 ↗ | (On Diff #43001) | Could you mention that we don't check the '0 < pos + size <= 63' constraint yet? |
test/MC/Mips/micromips64r6/invalid.s | ||
21 ↗ | (On Diff #43001) | We haven't completely fixed this yet since the valid range for the size is also influenced by the value used for pos. We still need the FIXME but it can be more specific now. Likewise for the other instances of this FIXME. |