x86: add missing IgnoreSize
authorJan Beulich <jbeulich@suse.com>
Fri, 6 Mar 2020 07:49:45 +0000 (08:49 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 6 Mar 2020 07:49:45 +0000 (08:49 +0100)
commita04973848dc529f4eeb3bd198251da9faf01e2a2
treef7e4b224ceb9b08b308c679c70edf25501625a53
parentb630c145c07e1995ea5442025f15e57a617b2560
x86: add missing IgnoreSize

For proper code generation in 16-bit mode (or to avoid the "same type of
prefix used twice" diagnostic there), IgnoreSize is needed on certain
templates allowing for just 32-(and maybe 64-)bit operands.

Beyond adding tests for the previously broken cases, also add ones for
the previously working cases where IgnoreSize is needed for the same
reason (leaving out MPX for now, as that'll require an assembler change
first). Some minor adjustments to tests get done such that re-use of the
same code for 16-bit code generation testing becomes easier.
34 files changed:
gas/ChangeLog
gas/testsuite/gas/i386/adx-intel.d
gas/testsuite/gas/i386/adx.d
gas/testsuite/gas/i386/adx.s
gas/testsuite/gas/i386/cet-intel.d
gas/testsuite/gas/i386/cet.d
gas/testsuite/gas/i386/cet.s
gas/testsuite/gas/i386/code16.d
gas/testsuite/gas/i386/code16.s
gas/testsuite/gas/i386/ept-intel.d
gas/testsuite/gas/i386/ept.d
gas/testsuite/gas/i386/ept.s
gas/testsuite/gas/i386/fsgs-intel.d
gas/testsuite/gas/i386/fsgs.d
gas/testsuite/gas/i386/fsgs.s
gas/testsuite/gas/i386/invpcid-intel.d
gas/testsuite/gas/i386/invpcid.d
gas/testsuite/gas/i386/invpcid.s
gas/testsuite/gas/i386/movdir-intel.d
gas/testsuite/gas/i386/movdir.d
gas/testsuite/gas/i386/movdir.s
gas/testsuite/gas/i386/ptwrite-intel.d
gas/testsuite/gas/i386/ptwrite.d
gas/testsuite/gas/i386/ptwrite.s
gas/testsuite/gas/i386/rdpid-intel.d
gas/testsuite/gas/i386/rdpid.d
gas/testsuite/gas/i386/rdpid.s
gas/testsuite/gas/i386/sse2-16bit.d
gas/testsuite/gas/i386/sse2-16bit.s
gas/testsuite/gas/i386/vmx.d
gas/testsuite/gas/i386/vmx.s
opcodes/ChangeLog
opcodes/i386-opc.tbl
opcodes/i386-tbl.h
This page took 0.027164 seconds and 4 git commands to generate.