[all-commits] [llvm/llvm-project] ee737a: [ARM] Accept .w suffixes for some memory instructions
Jirui-Wu via All-commits
all-commits at lists.llvm.org
Fri Feb 24 01:59:28 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee737ad30fa22256e609279184214f75441acefd
https://github.com/llvm/llvm-project/commit/ee737ad30fa22256e609279184214f75441acefd
Author: Jirui Wu <jirui.wu at arm.com>
Date: 2023-02-24 (Fri, 24 Feb 2023)
Changed paths:
M llvm/lib/Target/ARM/ARMInstrThumb2.td
M llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
M llvm/test/MC/ARM/basic-thumb2-instructions.s
Log Message:
-----------
[ARM] Accept .w suffixes for some memory instructions
Some memory instructions in the following sections of Armv7-M ARM allow
the .w mnemonic suffix, even though the preferred disassembly is without
the suffix.
A7.7.46 LDRB (immediate) T3
A7.7.55 LDRH (immediate) T3
A7.7.59 LDRSB (immediate) T2
A7.7.63 LDRSH (immediate) T2
A7.7.163 STRB (immediate) T3
A7.7.170 STRH (immediate) T3
This patch accepts the .w suffixes for theses instructions.
Pseudo-instructions and custom parsing logic are used instead of simple
aliases. More discussions are in these relevant patches:
https://reviews.llvm.org/D68916
https://reviews.llvm.org/D96632
Differential Revision: https://reviews.llvm.org/D142980
More information about the All-commits
mailing list