See also:
F5.1.167 RSB, RSBS (register) T1 shift or rotate by value variant
of the Arm ARM.
Details
Details
- Reviewers
DavidSpickett - Commits
- rG52338af5695e: [MC][ARM] add .w suffixes for RSB/RSBS T1
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Side note: in the v8 docs Rd is optional for all variants, but not in v7. So rsb r1, r8, asr #3 would be valid but GCC doesn't allow it either. Possibly because it could be difficult to tell the variants apart if you did.
Anyway, not an issue for this patch.
llvm/test/MC/ARM/basic-thumb2-instructions.s | ||
---|---|---|
2280–2281 | Test .w for this version |
Comment Actions
- reorder comment so it makes more sense. I'd rather delete it and the other pre-existing one TBH.
Comment Actions
Redo the comments if you like, LGTM otherwise.
llvm/lib/Target/ARM/ARMInstrThumb2.td | ||
---|---|---|
5078 | // Aliases for RSB with .w, with and without destination register ? If that's what you mean about the comments, or just make this all one block. |
// Aliases for RSB with .w, with and without destination register ?
If that's what you mean about the comments, or just make this all one block.