x86: fix (dis)assembly of certain SSE2 insns in 16-bit mode
authorJan Beulich <jbeulich@novell.com>
Tue, 25 Jun 2019 07:25:26 +0000 (09:25 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 25 Jun 2019 07:35:17 +0000 (09:35 +0200)
commite1a1babdad9d14b935cbddc7d63fb76a580a16c5
tree39fda81013c155f1b0e5dc365b2f9394147b951b
parentb8364fa775112f036a80e799b70311f69baac131
x86: fix (dis)assembly of certain SSE2 insns in 16-bit mode

MOVNTI was wrongly assembled with a 66h prefix. Add IgnoreSize to
address this. It and the scalar to/from integer conversion insns also
were also wrongly using Ev / Gv, leading to 16-bit register names being
printed when 32-bit ones were meant.

Clone the 32-bit SSE2 test to cover both assembler and disassembler.
gas/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/sse2-16bit.d [new file with mode: 0644]
gas/testsuite/gas/i386/sse2-16bit.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c
opcodes/i386-opc.tbl
opcodes/i386-tbl.h
This page took 0.025415 seconds and 4 git commands to generate.