[all-commits] [llvm/llvm-project] bc45ac: [SPARC][IAS] Add named V9 ASI tag constants for me...

Koakuma via All-commits all-commits at lists.llvm.org
Tue Sep 5 02:00:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc45acbddceea58cdd16c27fe71793ff2543e4f2
      https://github.com/llvm/llvm-project/commit/bc45acbddceea58cdd16c27fe71793ff2543e4f2
  Author: Koakuma <koachan at protonmail.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
    M llvm/lib/Target/Sparc/CMakeLists.txt
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcInstPrinter.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.cpp
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcMCTargetDesc.h
    M llvm/lib/Target/Sparc/Sparc.td
    A llvm/lib/Target/Sparc/SparcASITags.td
    M llvm/test/MC/Disassembler/Sparc/sparc-mem.txt
    A llvm/test/MC/Disassembler/Sparc/sparc-v9-asi.txt
    M llvm/test/MC/Sparc/sparc-atomic-instructions.s
    M llvm/test/MC/Sparc/sparc-cas-instructions.s
    M llvm/test/MC/Sparc/sparc-mem-asi-instructions.s
    M llvm/test/MC/Sparc/sparc-mem-instructions.s
    A llvm/test/MC/Sparc/sparcv9-asi-names.s
    M llvm/test/MC/Sparc/sparcv9-instructions.s

  Log Message:
  -----------
  [SPARC][IAS] Add named V9 ASI tag constants for memory instructions

This adds named ASI tag constants (such as #ASI_P and #ASI_P_L) for memory
accesses.

This patch adds 64-bit/V9 tag names, given that currently the majority of SPARC
software targets that arch.

Support for 32-bit/V8 tag names will be added in a future patch.

Reviewed By: barannikov88

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


  Commit: a21a0a64db8d6a4e30732a870e1a31ddc5c66e7e
      https://github.com/llvm/llvm-project/commit/a21a0a64db8d6a4e30732a870e1a31ddc5c66e7e
  Author: Koakuma <koachan at protonmail.com>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
    M llvm/lib/Target/Sparc/SparcInstrAliases.td
    M llvm/test/MC/Sparc/sparc-ctrl-instructions.s
    M llvm/test/MC/Sparc/sparc-synthetic-instructions.s
    M llvm/test/MC/Sparc/sparcv9-instructions.s

  Log Message:
  -----------
  [SPARC][IAS] Add more instruction aliases

This adds some commonly-used instruction aliases from various sources:

- GNU
- SPARCv9 manual
- JPS1 ASR names

Reviewed By: barannikov88

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


Compare: https://github.com/llvm/llvm-project/compare/8037deb7afb1...a21a0a64db8d


More information about the All-commits mailing list