aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2007-03-21 21:23:44 +0000
committerH.J. Lu <hjl.tools@gmail.com>2007-03-21 21:23:44 +0000
commit161a04f6302c9d85934b2bef64bfce569eaec28a (patch)
tree87420ebcc2f77fc81a45cdd23e1a1e670ba6d825 /include/opcode
parent8b38ad713b4d7d3cf34d59efcdeb562cad46b364 (diff)
downloadgdb-161a04f6302c9d85934b2bef64bfce569eaec28a.zip
gdb-161a04f6302c9d85934b2bef64bfce569eaec28a.tar.gz
gdb-161a04f6302c9d85934b2bef64bfce569eaec28a.tar.bz2
gas/
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.
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/ChangeLog11
-rw-r--r--include/opcode/i386.h8
2 files changed, 15 insertions, 4 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 64decbc..97685c4 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -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
diff --git a/include/opcode/i386.h b/include/opcode/i386.h
index 1628613..4fe769a 100644
--- a/include/opcode/i386.h
+++ b/include/opcode/i386.h
@@ -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