diff options
author | Joey Gouly <joey.gouly@arm.com> | 2013-08-27 17:38:16 +0000 |
---|---|---|
committer | Joey Gouly <joey.gouly@arm.com> | 2013-08-27 17:38:16 +0000 |
commit | 0b90c6223d9c49b5e0dc4bf4e53796b0714d7b80 (patch) | |
tree | 97160f0d3863d43fff79cd5243fdf0e833c67582 /lib/Target/ARM/InstPrinter | |
parent | 00c198042e22d781e46180a2aec2332945712552 (diff) | |
download | external_llvm-0b90c6223d9c49b5e0dc4bf4e53796b0714d7b80.zip external_llvm-0b90c6223d9c49b5e0dc4bf4e53796b0714d7b80.tar.gz external_llvm-0b90c6223d9c49b5e0dc4bf4e53796b0714d7b80.tar.bz2 |
[ARMv8] Add MC support for the new load/store acquire/release instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/InstPrinter')
-rw-r--r-- | lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp index 97da232..8b99c17 100644 --- a/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp +++ b/lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp @@ -249,9 +249,10 @@ void ARMInstPrinter::printInst(const MCInst *MI, raw_ostream &O, // GPRs. However, when decoding them, the two GRPs cannot be automatically // expressed as a GPRPair, so we have to manually merge them. // FIXME: We would really like to be able to tablegen'erate this. - if (Opcode == ARM::LDREXD || Opcode == ARM::STREXD) { + if (Opcode == ARM::LDREXD || Opcode == ARM::STREXD || + Opcode == ARM::LDAEXD || Opcode == ARM::STLEXD) { const MCRegisterClass& MRC = MRI.getRegClass(ARM::GPRRegClassID); - bool isStore = Opcode == ARM::STREXD; + bool isStore = Opcode == ARM::STREXD || Opcode == ARM::STLEXD; unsigned Reg = MI->getOperand(isStore ? 1 : 0).getReg(); if (MRC.contains(Reg)) { MCInst NewMI; |