aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2008-01-03 03:28:35 +0000
committerH.J. Lu <hjl.tools@gmail.com>2008-01-03 03:28:35 +0000
commitf2a9c676b7e4d2d0fa3017fde699910b87439058 (patch)
tree60dcd81a9b158ca181cb16befeadd5e73b0f04d3 /opcodes
parent615888ae9fe0fd690b17e404c0d13fcff93453c5 (diff)
downloadgdb-f2a9c676b7e4d2d0fa3017fde699910b87439058.zip
gdb-f2a9c676b7e4d2d0fa3017fde699910b87439058.tar.gz
gdb-f2a9c676b7e4d2d0fa3017fde699910b87439058.tar.bz2
gas/testsuite/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.s: Add tests for movq. * gas/i386/x86_64.s: Likewise. * gas/i386/i386.d Updated. * gas/i386/x86_64.d: Likewise. opcodes/ 2008-01-02 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h: Update comments.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/i386-opc.h16
2 files changed, 12 insertions, 8 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index ba93eef..23ad98c 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,9 @@
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
+ * i386-opc.h: Update comments.
+
+2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
+
* i386-gen.c (opcode_modifiers): Use Qword instead of QWord.
* i386-opc.h: Likewise.
* i386-opc.tbl: Likewise.
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 9038730..c77ae3c 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -175,7 +175,8 @@ typedef union i386_cpu_flags
#define Size32 (Size16 + 1)
/* needs size prefix if in 64-bit mode */
#define Size64 (Size32 + 1)
-/* instruction ignores operand size prefix and mnemonic size suffix */
+/* instruction ignores operand size prefix and in Intel mode ignores
+ mnemonic size suffix check. */
#define IgnoreSize (Size64 + 1)
/* default insn size depends on mode */
#define DefaultSize (IgnoreSize + 1)
@@ -193,18 +194,17 @@ typedef union i386_cpu_flags
#define No_ldSuf (No_qSuf + 1)
/* x suffix on instruction illegal */
#define No_xSuf (No_ldSuf + 1)
-/* check PTR size on instruction in Intel mode.
- FIXME: Can it be merged with IgnoreSize? */
+/* check memory size on instruction in Intel mode if it is specified. */
#define CheckSize (No_xSuf + 1)
-/* BYTE PTR on instruction */
+/* BYTE memory on instruction */
#define Byte (CheckSize + 1)
-/* WORD PTR on instruction */
+/* WORD memory on instruction */
#define Word (Byte + 1)
-/* DWORD PTR on instruction */
+/* DWORD memory on instruction */
#define Dword (Word + 1)
-/* QWORD PTR on instruction */
+/* QWORD memory on instruction */
#define Qword (Dword + 1)
-/* XMMWORD PTR on instruction */
+/* XMMWORD memory on instruction */
#define Xmmword (Qword + 1)
/* instruction needs FWAIT */
#define FWait (Xmmword + 1)