[all-commits] [llvm/llvm-project] 73f4c2: [X86] Support EGPR for inline assembly. (#92338)

Freddy Ye via All-commits all-commits at lists.llvm.org
Wed May 29 23:48:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73f4c2547dc3d1b6a453d3c4388648b122554dd1
      https://github.com/llvm/llvm-project/commit/73f4c2547dc3d1b6a453d3c4388648b122554dd1
  Author: Freddy Ye <freddy.ye at intel.com>
  Date:   2024-05-30 (Thu, 30 May 2024)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Basic/Targets/X86.cpp
    M clang/lib/Basic/Targets/X86.h
    M clang/lib/Driver/ToolChains/Arch/X86.cpp
    A clang/test/Driver/x86-apx-inline-asm-use-gpr32.cpp
    M clang/test/Preprocessor/x86_target_features.c
    M llvm/docs/LangRef.rst
    M llvm/lib/Target/X86/X86.td
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    A llvm/test/CodeGen/X86/apx/asm-constraint-jR.ll
    A llvm/test/CodeGen/X86/apx/asm-constraint-jr.ll
    M llvm/test/CodeGen/X86/apx/asm-constraint.ll

  Log Message:
  -----------
  [X86] Support EGPR for inline assembly. (#92338)

"jR": explicitly enables EGPR
"r", "l", "q": enables/disables EGPR w/wo -mapx-inline-asm-use-gpr32
"jr": explicitly enables GPR with -mapx-inline-asm-use-gpr32
-mapx-inline-asm-use-gpr32 will also define a new macro:
`__APX_INLINE_ASM_USE_GPR32__`

GCC patches:
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631183.html
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631186.html
[[PATCH v2] x86: Define _APX_INLINE_ASM_USE_GPR32_
(gnu.org)](https://gcc.gnu.org/pipermail/gcc-patches/2024-April/649003.html)

Reference: https://gcc.godbolt.org/z/nPPvbY6r4



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