[all-commits] [llvm/llvm-project] b0d404: [AArch64] Add support for v8.9-A/v9.4-A Debug and ...

Lucas Duarte Prates via All-commits all-commits at lists.llvm.org
Thu Nov 24 08:15:24 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0d4045dabef871c8ba81ff804916f78d734541b
      https://github.com/llvm/llvm-project/commit/b0d4045dabef871c8ba81ff804916f78d734541b
  Author: Lucas Prates <lucas.prates at arm.com>
  Date:   2022-11-24 (Thu, 24 Nov 2022)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/lib/Target/AArch64/AArch64InstrFormats.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SystemOperands.td
    M llvm/test/MC/AArch64/armv8.6a-fgt.s
    A llvm/test/MC/AArch64/armv8.9a-debug-pmu-error.s
    A llvm/test/MC/AArch64/armv8.9a-debug-pmu.s
    M llvm/test/MC/Disassembler/AArch64/armv8.6a-fgt.txt
    A llvm/test/MC/Disassembler/AArch64/armv8.9a-debug-pmu.txt

  Log Message:
  -----------
  [AArch64] Add support for v8.9-A/v9.4-A Debug and PMU extensions

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 Elliott and me.

Reviewed By: tmatheson

Differential Revision: https://reviews.llvm.org/D138556




More information about the All-commits mailing list