2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
	and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.

include/opcode/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

	* i386.h (REX_MODE64): Renamed to ...
	(REX_W): This.
	(REX_EXTX): Renamed to ...
	(REX_R): This.
	(REX_EXTY): Renamed to ...
	(REX_X): This.
	(REX_EXTZ): Renamed to ...
	(REX_B): This.

opcodes/

2003-03-21  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (REX_MODE64): Remove definition.
	(REX_EXTX): Likewise.
	(REX_EXTY): Likewise.
	(REX_EXTZ): Likewise.
	(USED_REX): Use REX_OPCODE instead of 0x40.
	Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
	REX_R, REX_X and REX_B respectively.
This commit is contained in:
H.J. Lu 2007-03-21 21:23:43 +00:00
parent 52f4adec2e
commit 3ce0c60b4c
2 changed files with 15 additions and 4 deletions

View File

@ -1,3 +1,14 @@
2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (REX_MODE64): Renamed to ...
(REX_W): This.
(REX_EXTX): Renamed to ...
(REX_R): This.
(REX_EXTY): Renamed to ...
(REX_X): This.
(REX_EXTZ): Renamed to ...
(REX_B): This.
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* i386.h: Add entries from config/tc-i386.h and move tables

View File

@ -91,13 +91,13 @@
#define REX_OPCODE 0x40
/* Indicates 64 bit operand size. */
#define REX_MODE64 8
#define REX_W 8
/* High extension to reg field of modrm byte. */
#define REX_EXTX 4
#define REX_R 4
/* High extension to SIB index field. */
#define REX_EXTY 2
#define REX_X 2
/* High extension to base field of modrm or SIB, or reg field of opcode. */
#define REX_EXTZ 1
#define REX_B 1
/* max operands per insn */
#define MAX_OPERANDS 4