Fix "pushw imm16" for x86-64 disassembler.
commit6dafa4b85662eb6a392190f8af956aecc7c7969c
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Aug 2010 21:56:56 +0000 (31 21:56 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Aug 2010 21:56:56 +0000 (31 21:56 +0000)
tree040f9091cff294ef7670405e2986ba14878a2867
parent3bfb18fbd86d9b7644ad496b4646e30592864a08
Fix "pushw imm16" for x86-64 disassembler.

gas/testsuite/

2010-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/11960
* gas/i386/opcode-intel.d: Updated.
* gas/i386/x86-64-opcode.d: Likewise.

* gas/i386/x86-64-opcode.s: Add a "pushw imm16" test.

opcodes/

2010-08-31  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/11960
* i386-dis.c (sIv): New.
(dis386): Replace Iq with sIv on "pushT".
(reg_table): Replace T with {T|} on callT, JcallT, jmpT and JjmpT.
(x86_64_table): Replace {T|}/{P|} with P.
(putop): Add 'w' to 'T'/'P' if needed for Intel syntax.
(OP_sI): Update v_mode.  Remove w_mode.
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/opcode-intel.d
gas/testsuite/gas/i386/x86-64-opcode.d
gas/testsuite/gas/i386/x86-64-opcode.s
opcodes/ChangeLog
opcodes/i386-dis.c