]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Support {evex} pseudo prefix for decode evex promoted insns without egpr32.
authorHu, Lin1 <lin1.hu@intel.com>
Tue, 9 Apr 2024 02:58:39 +0000 (10:58 +0800)
committerCui, Lili <lili.cui@intel.com>
Tue, 9 Apr 2024 03:18:23 +0000 (11:18 +0800)
commitedb30f5782826af431e26aac4362cca687e77913
tree6544416cf4e838a359e57e43458eda8f404939e2
parent7c71e67e119eb36f62803797640b7638bac6d5e8
Support {evex} pseudo prefix for decode evex promoted insns without egpr32.

This patch is based on APX NF patch and also adds test cases for Checking 64-bit insns not sizeable through
register operands with evex.

gas/ChangeLog:

        * testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d: Added no-egpr testcases for movbe.
        * testsuite/gas/i386/x86-64-apx-evex-promoted-wig.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted.d: Ditto.
        * testsuite/gas/i386/x86-64-apx-evex-promoted.s: Ditto.
        * testsuite/gas/i386/x86-64.exp: Added tests.
        * testsuite/gas/i386/noreg64-evex.d: New test.
        * testsuite/gas/i386/noreg64-evex.e: Ditto.
        * testsuite/gas/i386/noreg64-evex.s: Ditto.
        * testsuite/gas/i386/x86-64-apx_f-evex.d: Ditto.
        * testsuite/gas/i386/x86-64-apx_f-evex.s: Ditto.

opcodes/ChangeLog:

        * i386-dis-evex.h: Added %ME to movbe.
        * i386-dis.c : Added %XE to evex_from_vex instructions to output {evex}.
        (struct dis386): New %ME.
        (putop): Handle %ME and output {evex} for evex_from_legacy instructions.
        * Return early when the instruction name is (bad).
12 files changed:
gas/testsuite/gas/i386/noreg64-evex.d [new file with mode: 0644]
gas/testsuite/gas/i386/noreg64-evex.e [new file with mode: 0644]
gas/testsuite/gas/i386/noreg64-evex.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-apx-evex-promoted-intel.d
gas/testsuite/gas/i386/x86-64-apx-evex-promoted-wig.d
gas/testsuite/gas/i386/x86-64-apx-evex-promoted.d
gas/testsuite/gas/i386/x86-64-apx-evex-promoted.s
gas/testsuite/gas/i386/x86-64-apx_f-evex.d [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64-apx_f-evex.s [new file with mode: 0644]
gas/testsuite/gas/i386/x86-64.exp
opcodes/i386-dis-evex.h
opcodes/i386-dis.c