[PATCH v3 0/9] Support Intel APX EGPR
Cui, Lili
lili.cui@intel.com
Thu Dec 7 08:17:15 GMT 2023
Hi H.J,
Could you help review these APX patches? There are 11 patches in total.
[PATCH] Clean reg class and base_reg for input output operand (%dx). (for legacy)
[PATCH 1/9] Make const_1_mode print $1 in AT&T syntax. (for legacy)
[PATCH v3 2/9] Support APX GPR32 with rex2 prefix.
[PATCH v3 3/9] Created an empty EVEX_MAP4_ sub-table for EVEX instructions.
[PATCH v3 4/9] Support APX GPR32 with extend evex prefix.
[PATCH v3 5/9] Add tests for APX GPR32 with extend evex prefix.
[PATCH v3 6/9] Support APX NDD.
[PATCH v3 7/9] Support APX Push2/Pop2.
[PATCH] Support APX PUSHP/POPP.
[PATCH v3 8/9] Support APX NDD optimized encoding.
[PATCH v3 9/9] Support APX JMPABS for disassembler.
There are 3 patches that need to be updated. Lin and I will post later.
[PATCH v3 2/9] Support APX GPR32 with rex2 prefix
[PATCH] Support APX PUSHP/POPP
[PATCH v3 9/9] Support APX JMPABS for disassembler
Thanks,
Lili.
> -----Original Message-----
> From: Cui, Lili <lili.cui@intel.com>
> Sent: Friday, November 24, 2023 2:56 PM
> To: Beulich, Jan <JBeulich@suse.com>
> Cc: Lu, Hongjiu <hongjiu.lu@intel.com>; binutils@sourceware.org
> Subject: [PATCH v3 0/9] Support Intel APX EGPR
>
>
> This is V3 of all APX patches.
> 1. Created a patch to make const_1_mode print $1 in AT&T syntax.
> 2. How to print the rex2 prefix needs to be discussed later.
> 3. After NF patch, need to add tests for pfx macros emitting {evex} in
> noreg64.s.
>
> Cui, Lili (5):
> Make const_1_mode print $1 in AT&T syntax
> Support APX GPR32 with rex2 prefix
> Created an empty EVEX_MAP4_ sub-table for EVEX instructions.
> Support APX GPR32 with extend evex prefix
> Add tests for APX GPR32 with extend evex prefix
>
> Hu, Lin1 (2):
> Support APX NDD optimized encoding.
> Support APX JMPABS for disassembler
>
> Mo, Zewei (1):
> Support APX Push2/Pop2
>
> konglin1 (1):
> Support APX NDD
>
>
> Thanks,
> Lili.
> gas/config/tc-i386.c | 472 +++++++++++--
> gas/doc/c-i386.texi | 6 +-
> gas/testsuite/gas/i386/apx-push2pop2-inval.l | 5 +
> gas/testsuite/gas/i386/apx-push2pop2-inval.s | 9 +
> gas/testsuite/gas/i386/i386.exp | 1 +
> .../i386/ilp32/x86-64-opcode-inval-intel.d | 47 +-
> .../gas/i386/ilp32/x86-64-opcode-inval.d | 47 +-
> gas/testsuite/gas/i386/intel.d | 6 +-
> gas/testsuite/gas/i386/lfence-load.d | 2 +-
> gas/testsuite/gas/i386/noreg16-data32.d | 32 +-
> gas/testsuite/gas/i386/noreg16.d | 32 +-
> gas/testsuite/gas/i386/noreg32-data16.d | 32 +-
> gas/testsuite/gas/i386/noreg32.d | 32 +-
> gas/testsuite/gas/i386/noreg64-data16.d | 32 +-
> gas/testsuite/gas/i386/noreg64-rex64.d | 32 +-
> gas/testsuite/gas/i386/noreg64.d | 32 +-
> gas/testsuite/gas/i386/opcode-suffix.d | 6 +-
> gas/testsuite/gas/i386/opcode.d | 10 +-
> .../gas/i386/x86-64-apx-egpr-inval.l | 203 ++++++
> .../gas/i386/x86-64-apx-egpr-inval.s | 210 ++++++
> .../gas/i386/x86-64-apx-egpr-promote-inval.l | 20 + .../gas/i386/x86-64-apx-
> egpr-promote-inval.s | 29 + gas/testsuite/gas/i386/x86-64-apx-evex-egpr.d |
> 20 + gas/testsuite/gas/i386/x86-64-apx-evex-egpr.s | 21 +
> .../gas/i386/x86-64-apx-evex-promoted-bad.d | 34 +
> .../gas/i386/x86-64-apx-evex-promoted-bad.s | 36 +
> .../gas/i386/x86-64-apx-evex-promoted-intel.d | 318 +++++++++
> .../gas/i386/x86-64-apx-evex-promoted.d | 318 +++++++++
> .../gas/i386/x86-64-apx-evex-promoted.s | 314 +++++++++
> .../gas/i386/x86-64-apx-jmpabs-intel.d | 11 +
> .../gas/i386/x86-64-apx-jmpabs-inval.d | 40 ++
> .../gas/i386/x86-64-apx-jmpabs-inval.s | 15 +
> gas/testsuite/gas/i386/x86-64-apx-jmpabs.d | 11 +
> gas/testsuite/gas/i386/x86-64-apx-jmpabs.s | 5 +
> .../gas/i386/x86-64-apx-ndd-optimize.d | 130 ++++
> .../gas/i386/x86-64-apx-ndd-optimize.s | 123 ++++
> gas/testsuite/gas/i386/x86-64-apx-ndd.d | 160 +++++
> gas/testsuite/gas/i386/x86-64-apx-ndd.s | 155 +++++
> .../gas/i386/x86-64-apx-push2pop2-intel.d | 42 ++
> .../gas/i386/x86-64-apx-push2pop2-inval.l | 13 +
> .../gas/i386/x86-64-apx-push2pop2-inval.s | 17 +
> gas/testsuite/gas/i386/x86-64-apx-push2pop2.d | 42 ++
> gas/testsuite/gas/i386/x86-64-apx-push2pop2.s | 39 ++
> gas/testsuite/gas/i386/x86-64-apx-rex2.d | 83 +++
> gas/testsuite/gas/i386/x86-64-apx-rex2.s | 86 +++
> gas/testsuite/gas/i386/x86-64-evex.d | 2 +-
> gas/testsuite/gas/i386/x86-64-inval-pseudo.l | 6 +
> gas/testsuite/gas/i386/x86-64-inval-pseudo.s | 4 +
> gas/testsuite/gas/i386/x86-64-lfence-load.d | 2 +-
> .../gas/i386/x86-64-opcode-inval-intel.d | 26 +-
> gas/testsuite/gas/i386/x86-64-opcode-inval.d | 26 +-
> gas/testsuite/gas/i386/x86-64-opcode-inval.s | 4 -
> gas/testsuite/gas/i386/x86-64-opcode.d | 6 +-
> gas/testsuite/gas/i386/x86-64-pseudos-bad.l | 59 +-
> gas/testsuite/gas/i386/x86-64-pseudos-bad.s | 58 ++
> gas/testsuite/gas/i386/x86-64-pseudos.d | 63 ++
> gas/testsuite/gas/i386/x86-64-pseudos.s | 65 ++
> gas/testsuite/gas/i386/x86-64.exp | 17 +-
> include/opcode/i386.h | 2 +
> opcodes/i386-dis-evex-len.h | 10 +
> opcodes/i386-dis-evex-prefix.h | 66 ++
> opcodes/i386-dis-evex-reg.h | 71 ++
> opcodes/i386-dis-evex-w.h | 10 +
> opcodes/i386-dis-evex-x86-64.h | 60 ++
> opcodes/i386-dis-evex.h | 347 +++++++++-
> opcodes/i386-dis.c | 644 +++++++++++++-----
> opcodes/i386-gen.c | 57 +-
> opcodes/i386-opc.h | 30 +-
> opcodes/i386-opc.tbl | 210 ++++--
> opcodes/i386-reg.tbl | 64 ++
> 70 files changed, 4669 insertions(+), 570 deletions(-) create mode 100644
> gas/testsuite/gas/i386/apx-push2pop2-inval.l
> create mode 100644 gas/testsuite/gas/i386/apx-push2pop2-inval.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-egpr-inval.l
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-egpr-inval.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-egpr-promote-inval.l
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-egpr-promote-inval.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-evex-egpr.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-evex-egpr.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-evex-promoted-
> bad.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-evex-promoted-bad.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-evex-promoted-
> intel.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-evex-promoted.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-jmpabs-intel.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-jmpabs-inval.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-jmpabs-inval.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-jmpabs.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-jmpabs.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-ndd-optimize.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-ndd-optimize.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-ndd.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-ndd.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-push2pop2-intel.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-push2pop2-inval.l
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-push2pop2-inval.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-push2pop2.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-push2pop2.s
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-rex2.d
> create mode 100644 gas/testsuite/gas/i386/x86-64-apx-rex2.s
> create mode 100644 opcodes/i386-dis-evex-x86-64.h
>
> --
> 2.25.1
More information about the Binutils
mailing list