gas/
commit18f3be795246ef1d7e61037cf5d2a3d50ffc69ab
authorH.J. Lu <hjl@lucon.org>
Thu, 29 Mar 2007 04:27:54 +0000 (29 04:27 +0000)
committerH.J. Lu <hjl@lucon.org>
Thu, 29 Mar 2007 04:27:54 +0000 (29 04:27 +0000)
treebbff37d0a1d87ad8875040ca4f9056b38b71806a
parenta5a8cd5d7e745e50c41cd1915676798684c147c8
gas/

2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-i386.c (build_modrm_byte): For instructions with 2
register operands, encode destination in i.rm.regmem if its
RegMem bit is set.

opcodes/

2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.c (i386_optab): Change InvMem to RegMem for mov and
movq.  Remove InvMem from sldt, smsw and str.

* i386-opc.h (InvMem): Renamed to ...
(RegMem): Update comments.
(AnyMem): Remove InvMem.
gas/ChangeLog
gas/config/tc-i386.c
opcodes/ChangeLog
opcodes/i386-opc.c
opcodes/i386-opc.h