Fix "pushw imm16" for x86-64 disassembler.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Aug 2010 21:56:57 +0000 (21:56 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 31 Aug 2010 21:56:57 +0000 (21:56 +0000)
commitd9e3625e3784394e084ea08b52ee13178b00bd09
tree8ceb8714d00ac0deac3bcf187fc92390e416916b
parent710e1a31c41cfebe0c425d54efa309bb7054cbc2
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