From: "Cui, Lili" <lili.cui@intel.com>
To: binutils@sourceware.org
Cc: hongjiu.lu@intel.com, jbeulich@suse.com
Subject: [PATCH V5 0/9] Support Intel APX EGPR
Date: Thu, 28 Dec 2023 01:27:05 +0000 [thread overview]
Message-ID: <20231228012714.2989658-1-lili.cui@intel.com> (raw)
*** BLURB HERE ***
Optimizations and fixes needed in the future.
1. The current implementation of vexvvvvv needs to be optimized.
2. Convert vround* with egpr to VRNDSCALE* instead of reporting an error.
3. Find a suitable variable to replace OperandConstraint=REX2_REQUIRED.
4. The current gen.c does not handle "cpuid&(cpuid|APX_F)" correctly and a separate patch is required to fix this.
Cui, Lili (5):
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
Support APX pushp/popp
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
gas/config/tc-i386.c | 461 ++++++++++--
gas/doc/c-i386.texi | 7 +-
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/rex-bad.l | 8 +-
.../gas/i386/x86-64-apx-egpr-inval.l | 202 +++++
.../gas/i386/x86-64-apx-egpr-inval.s | 209 ++++++
.../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 | 41 +
.../gas/i386/x86-64-apx-evex-promoted-bad.s | 49 ++
.../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 | 12 +
.../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 | 12 +
gas/testsuite/gas/i386/x86-64-apx-jmpabs.s | 5 +
.../gas/i386/x86-64-apx-ndd-optimize.d | 132 ++++
.../gas/i386/x86-64-apx-ndd-optimize.s | 125 ++++
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/i386/x86-64-apx-pushp-popp-intel.d | 14 +
.../gas/i386/x86-64-apx-pushp-popp-inval.l | 5 +
.../gas/i386/x86-64-apx-pushp-popp-inval.s | 7 +
.../gas/i386/x86-64-apx-pushp-popp.d | 14 +
.../gas/i386/x86-64-apx-pushp-popp.s | 8 +
gas/testsuite/gas/i386/x86-64-apx-rex2.d | 83 +++
gas/testsuite/gas/i386/x86-64-apx-rex2.s | 85 +++
gas/testsuite/gas/i386/x86-64-evex.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-pseudos-bad.l | 75 +-
gas/testsuite/gas/i386/x86-64-pseudos-bad.s | 74 ++
gas/testsuite/gas/i386/x86-64-pseudos.d | 63 ++
gas/testsuite/gas/i386/x86-64-pseudos.s | 64 ++
gas/testsuite/gas/i386/x86-64.exp | 20 +-
include/opcode/i386.h | 4 +
opcodes/i386-dis-evex-prefix.h | 58 ++
opcodes/i386-dis-evex-reg.h | 63 ++
opcodes/i386-dis-evex-w.h | 10 +
opcodes/i386-dis-evex-x86-64.h | 50 ++
opcodes/i386-dis-evex.h | 347 ++++++++-
opcodes/i386-dis.c | 702 +++++++++++++-----
opcodes/i386-gen.c | 52 +-
opcodes/i386-opc.h | 27 +-
opcodes/i386-opc.tbl | 204 ++++-
opcodes/i386-reg.tbl | 64 ++
60 files changed, 4637 insertions(+), 449 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-pushp-popp-intel.d
create mode 100644 gas/testsuite/gas/i386/x86-64-apx-pushp-popp-inval.l
create mode 100644 gas/testsuite/gas/i386/x86-64-apx-pushp-popp-inval.s
create mode 100644 gas/testsuite/gas/i386/x86-64-apx-pushp-popp.d
create mode 100644 gas/testsuite/gas/i386/x86-64-apx-pushp-popp.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
next reply other threads:[~2023-12-28 1:27 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-28 1:27 Cui, Lili [this message]
2023-12-28 1:27 ` [PATCH V5 1/9] Support APX GPR32 with rex2 prefix Cui, Lili
2023-12-28 1:53 ` H.J. Lu
2024-01-04 8:02 ` Jan Beulich
2024-01-04 11:27 ` Cui, Lili
2024-01-05 14:45 ` Jan Beulich
2024-01-08 3:41 ` Cui, Lili
2023-12-28 1:27 ` [PATCH V5 2/9] Created an empty EVEX_MAP4_ sub-table for EVEX instructions Cui, Lili
2023-12-28 1:54 ` H.J. Lu
2023-12-28 1:27 ` [PATCH V5 3/9] Support APX GPR32 with extend evex prefix Cui, Lili
2023-12-28 1:54 ` H.J. Lu
2023-12-28 13:48 ` Cui, Lili
2023-12-28 1:27 ` [PATCH V5 4/9] Add tests for " Cui, Lili
2023-12-28 1:54 ` H.J. Lu
2023-12-28 1:27 ` [PATCH V5 5/9] Support APX NDD Cui, Lili
2023-12-28 1:55 ` H.J. Lu
2023-12-28 1:27 ` [PATCH V5 6/9] Support APX Push2/Pop2 Cui, Lili
2023-12-28 1:55 ` H.J. Lu
2023-12-28 1:27 ` [PATCH V5 7/9] Support APX pushp/popp Cui, Lili
2023-12-28 1:56 ` H.J. Lu
2023-12-28 1:27 ` [PATCH V5 8/9] Support APX NDD optimized encoding Cui, Lili
2023-12-28 1:56 ` H.J. Lu
2024-01-05 14:36 ` Jan Beulich
2024-01-08 2:49 ` Hu, Lin1
2023-12-28 1:27 ` [PATCH V5 9/9] Support APX JMPABS for disassembler Cui, Lili
2023-12-28 1:56 ` H.J. Lu
2024-01-05 12:08 ` Jan Beulich
2024-01-08 2:32 ` Hu, Lin1
2024-01-08 7:41 ` Jan Beulich
2024-01-08 7:44 ` Hu, Lin1
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20231228012714.2989658-1-lili.cui@intel.com \
--to=lili.cui@intel.com \
--cc=binutils@sourceware.org \
--cc=hongjiu.lu@intel.com \
--cc=jbeulich@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).