[all-commits] [llvm/llvm-project] 946af4: [AArch64] Fix `GCS{PUSHX|POPCX|POPX}` instrs to ta...

Jonathan Thackray via All-commits all-commits at lists.llvm.org
Fri May 30 03:57:32 PDT 2025


  Branch: refs/heads/users/jthackray/fix-gcs-instructions
  Home:   https://github.com/llvm/llvm-project
  Commit: 946af489d2f7a9469144dbf2e6bdfada121a7dea
      https://github.com/llvm/llvm-project/commit/946af489d2f7a9469144dbf2e6bdfada121a7dea
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/test/MC/AArch64/armv9.4a-gcs.s
    M llvm/test/MC/Disassembler/AArch64/armv9.4a-gcs.txt

  Log Message:
  -----------
  [AArch64] Fix `GCS{PUSHX|POPCX|POPX}` instrs to take an optional register

The Arm Archicture Reference Manual (DDI 0487K.a) says that:
  * `GCSPUSHX`
  * `GCSPOPCX`
  * `GCSPOPX`
instructions, which are `SYS` aliases, can take an optional register,
e.g. `GCSPUSHX {<Xt>}`

Fix the code and tests to allow this to be encoded.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list