[all-commits] [llvm/llvm-project] 7c84f9: [AArch64] Codegen for FEAT_LRCPC3
tmatheson-arm via All-commits
all-commits at lists.llvm.org
Wed Jan 25 04:28:40 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c84f94eb9f9c39229ca26d21d3bcb0b35efdc71
https://github.com/llvm/llvm-project/commit/7c84f94eb9f9c39229ca26d21d3bcb0b35efdc71
Author: Tomas Matheson <tomas.matheson at arm.com>
Date: 2023-01-25 (Wed, 25 Jan 2023)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
M llvm/lib/Target/AArch64/AArch64ISelLowering.h
M llvm/lib/Target/AArch64/AArch64InstrInfo.td
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomic-load-rcpc3.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomic-store-rcpc3.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-atomicrmw-rcpc3.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-cmpxchg-rcpc3.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64-fence.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomic-load-rcpc3.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomic-store-rcpc3.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-atomicrmw-rcpc3.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-cmpxchg-rcpc3.ll
M llvm/test/CodeGen/AArch64/Atomics/aarch64_be-fence.ll
M llvm/test/CodeGen/AArch64/Atomics/generate-tests.py
Log Message:
-----------
[AArch64] Codegen for FEAT_LRCPC3
Implements support for the following 128-bit atomic operations with +rcpc3:
- 128-bit store-release -> STILP
- 128-bit load-acquire -> LDIAPP
D126250 and D137590 added support for emitting LDAPR (Load-Acquire RCPc) rather
than LDAP (Load-Acquire) when +rcpc is available. This patch allows emitting
the 128-bit RCPc instructions added in FEAT_LRCPC3 (LDIAPP/STILP). The
implementation is different from LDAPR, because there are no non-RCPc
equivalents for these new instructions.
Support for the offset variants will be added in D141431.
Reviewed By: lenary
Differential Revision: https://reviews.llvm.org/D141429
More information about the All-commits
mailing list