[PATCH] D138556: [AArch64] Add support for v8.9-A/v9.4-A Debug and PMU extensions
Lucas Prates via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 23 02:31:21 PST 2022
pratlucas created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
pratlucas requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This adds support for the 2022 Debug and PMU extensions that are part of
the v8.9-A and v9.4-A architecture versions. This includes:
- New archtecture extension for the v9.4-A Instrumentation Extension (FEAT_ITE), including 'trcit' instruction and system registers
- New system registers for:
- 2022 Debug features (FEAT_Debugv8p9)
- 2022 Performance Monitors Extension features (FEAT_PMUv3p9)
- PMU Snapshot extension (FEAT_PMUv3_SS)
- PMU Fixed-function instruction counter (FEAT_PMUv3_ICNTR)
- System Performance Monitors Extension (FEAT_SPMU)
- Synchornous-exception-based event profiling (FEAT_SEBEP)
- Fine Grained Traps Extension (FEAT_FGT2)
- SPE Data Source filtering (FEAT_SPE_FDS)
More information on the new extensions can be found on:
- https://community.arm.com/arm-community-blogs/b/architectures-and-processors-blog/posts/arm-a-profile-architecture-2022
- https://developer.arm.com/downloads/-/exploration-tools
Changes by Son Tuan Vu, Sam Elliot, and me.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138556
Files:
llvm/lib/Target/AArch64/AArch64.td
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/lib/Target/AArch64/AArch64SystemOperands.td
llvm/test/MC/AArch64/armv8.6a-fgt.s
llvm/test/MC/AArch64/armv8.9a-debug-pmu-error.s
llvm/test/MC/AArch64/armv8.9a-debug-pmu.s
llvm/test/MC/Disassembler/AArch64/armv8.6a-fgt.txt
llvm/test/MC/Disassembler/AArch64/armv8.9a-debug-pmu.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138556.477428.patch
Type: text/x-patch
Size: 68031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221123/216ebf6a/attachment.bin>
More information about the llvm-commits
mailing list