[all-commits] [llvm/llvm-project] 4b8d9a: [AArch64] Complete the list of extensions supporte...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Jun 6 01:50:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b8d9abca7d0280878fb12de331e688ee85d7cd8
      https://github.com/llvm/llvm-project/commit/4b8d9abca7d0280878fb12de331e688ee85d7cd8
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm/TargetParser/AArch64TargetParser.h
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/test/MC/AArch64/directive-arch_extension.s

  Log Message:
  -----------
  [AArch64] Complete the list of extensions supported by .arch and .arch_extension

This brings the list of extensions supported here up to date
with what is supported by current git versions of binutils.

Also add a comment to AArch64TargetParser to remind people to
consider adding new ones to the list supported in assembly.

In the case of the "rdma" extension, there's a slight surprise:
LLVM knows of the extension under the name "rdm", while binutils
has it named "rdma". However, binutils appears to accept any
abbreviated prefix of an arch extension, so it does accept the
form "rdm" too even if it formally considers it called "rdma".

Support both spellings for the extensions here, for simplicity.

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


  Commit: a499d675ae163429adff0bc3dc4f8215c12441c7
      https://github.com/llvm/llvm-project/commit/a499d675ae163429adff0bc3dc4f8215c12441c7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/test/MC/AArch64/directive-arch-negative.s
    M llvm/test/MC/AArch64/directive-arch.s

  Log Message:
  -----------
  [AArch64] Make .arch without extra features actually take effect

This fixes PR32873 / https://github.com/llvm/llvm-project/issues/32220.

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


Compare: https://github.com/llvm/llvm-project/compare/9c1e55873ebf...a499d675ae16


More information about the All-commits mailing list