]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/ChangeLog
x86: Don't display eiz with no scale
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 15 Jul 2020 13:49:45 +0000 (06:49 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 15 Jul 2020 13:57:47 +0000 (06:57 -0700)
commit04c662e2b66bedd050f97adec19afe0fcfce9ea7
treebc8bd76482538d3ced9901b0d24c91813de80566
parent56c1b507aa8bd8029f63bc78275fab1d815966f5
x86: Don't display eiz with no scale

Change

67 48 8b 1c 25 ef cd ab 89  mov    0x89abcdef(,%eiz,1),%rbx

to

67 48 8b 1c 25 ef cd ab 89  mov    0x89abcdef,%rbx

in AT&T syntax and

67 48 8b 1c 25 ef cd ab 89  mov    rbx,QWORD PTR [eiz*1+0x89abcdef]

to

67 48 8b 1c 25 ef cd ab 89  mov    rbx,QWORD PTR ds:0x89abcdef

in Intel syntax.

gas/

PR gas/26237
* testsuite/gas/i386/evex-no-scale-64.d: Updated.
* testsuite/gas/i386/addr32.d: Likewise.
* testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
* testsuite/gas/i386/x86-64-addr32.d: Likewise.

opcodes/

PR gas/26237
* i386-dis.c (OP_E_memory): Don't display eiz with no scale
without base nor index registers.
gas/ChangeLog
gas/testsuite/gas/i386/evex-no-scale-64.d
gas/testsuite/gas/i386/x86-64-addr32-intel.d
gas/testsuite/gas/i386/x86-64-addr32.d
opcodes/ChangeLog
opcodes/i386-dis.c