[all-commits] [llvm/llvm-project] 58bb2d: [X86][MC] Support encoding of EGPR for APX (#71909)

Shengchen Kan via All-commits all-commits at lists.llvm.org
Sun Nov 12 23:27:56 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58bb2d19560471ad94dea505f2283bad9d7c2850
      https://github.com/llvm/llvm-project/commit/58bb2d19560471ad94dea505f2283bad9d7c2850
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2023-11-13 (Mon, 13 Nov 2023)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
    M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    A llvm/test/MC/X86/apx/evex-format-att.s
    A llvm/test/MC/X86/apx/evex-format-intel.s
    A llvm/test/MC/X86/apx/rex2-bit-att.s
    A llvm/test/MC/X86/apx/rex2-bit-intel.s
    A llvm/test/MC/X86/apx/rex2-format-att.s
    A llvm/test/MC/X86/apx/rex2-format-intel.s

  Log Message:
  -----------
  [X86][MC] Support encoding of EGPR for APX (#71909)

#70958 adds registers R16-R31 (EGPR), this patch
1. Introduces a new instruction prefix REX2
2. Supports encoding of EGPR with REX2 for legacy instructions in MAP
0/1
3. Supports encoding of EGPR with EVEX for the existing instructions in
EVEX space

RFC:

https://discourse.llvm.org/t/rfc-design-for-apx-feature-egpr-and-ndd-support/73031/4




More information about the All-commits mailing list