[all-commits] [llvm/llvm-project] 182275: [AArch64] Allow SVE_AES instructions in streaming ...

SpencerAbson via All-commits all-commits at lists.llvm.org
Fri Nov 15 01:25:06 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 182275479208492d2a1c67438ad6b4e23ca32288
      https://github.com/llvm/llvm-project/commit/182275479208492d2a1c67438ad6b4e23ca32288
  Author: SpencerAbson <Spencer.Abson at arm.com>
  Date:   2024-11-15 (Fri, 15 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64.td
    M llvm/lib/Target/AArch64/AArch64InstrInfo.td
    M llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
    M llvm/test/MC/AArch64/SVE2/aesd.s
    M llvm/test/MC/AArch64/SVE2/aese.s
    M llvm/test/MC/AArch64/SVE2/aesimc.s
    M llvm/test/MC/AArch64/SVE2/aesmc.s
    M llvm/test/MC/AArch64/SVE2/directive-arch_extension-negative.s
    M llvm/test/MC/AArch64/SVE2/directive-cpu-negative.s
    M llvm/test/MC/AArch64/SVE2/pmullb-128.s
    M llvm/test/MC/AArch64/SVE2/pmullt-128.s

  Log Message:
  -----------
  [AArch64] Allow SVE_AES instructions in streaming mode with SSVE_AES (#115526)

In accordance with
https://developer.arm.com/documentation/ddi0602/latest/, the following
SVE2 instructions are available in streaming SVE mode if the target has
FEAT_SSVE_AES

    - PMULLB, PMULLT (128-bit element)
    - AESE (vectors)
    - AESD (vectors)
    - AESMC
    - AESIMC

This patch updates the predication of these instructions to reflect this
architecture change.

Note that the assembler predicates here always require at least one of
sve2,ssve-aes due to the following condition on
[FEAT_SVE_AES](https://developer.arm.com/documentation/109697/2024_09/Feature-descriptions/The-Armv9-0-architecture-extension?lang=en#md457-the-armv90-architecture-extension__feat_FEAT_SVE_AES)
>If FEAT_SVE_AES is implemented, then FEAT_SVE2 or FEAT_SSVE_AES is
implemented.



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