+2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386-intel.c (i386_intel_operand): Initialize
+ intel_state.has_offset to 0.
+
2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (offset_in_range): Sign extend offset only
/* Initialize state structure. */
intel_state.op_modifier = O_absent;
intel_state.is_mem = 0;
+ intel_state.has_offset = 0;
intel_state.base = NULL;
intel_state.index = NULL;
intel_state.seg = NULL;
+2009-09-15 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/i386/disp.s: Add an offset test.
+ * gas/i386/x86-64-disp.s: Likewise.
+
+ * gas/i386/intelbad.s: Comment out "byte ptr [1]" test.
+
+ * gas/i386/disp.d: Updated.
+ * gas/i386/disp-intel.d: Likewise.
+ * gas/i386/intelbad.l: Likewise.
+ * gas/i386/x86-64-disp.d: Likewise.
+ * gas/i386/x86-64-disp-intel.d: Likewise.
+
2009-09-14 H.J. Lu <hongjiu.lu@intel.com>
PR gas/10637
[ ]*[a-f0-9]+: a1 ff ff ff 7f mov eax,ds:0x7fffffff
[ ]*[a-f0-9]+: a1 00 00 00 80 mov eax,ds:0x80000000
[ ]*[a-f0-9]+: a1 00 00 00 80 mov eax,ds:0x80000000
+[ ]*[a-f0-9]+: b8 f0 00 e0 0e mov eax,0xee000f0
[ ]*[a-f0-9]+: 89 98 f0 00 e0 0e mov DWORD PTR \[eax\+0xee000f0\],ebx
[ ]*[a-f0-9]+: 89 98 f0 00 e0 0e mov DWORD PTR \[eax\+0xee000f0\],ebx
[ ]*[a-f0-9]+: 65 89 98 f0 00 e0 0e mov DWORD PTR gs:\[eax\+0xee000f0\],ebx
[ ]*[a-f0-9]+: a1 ff ff ff 7f mov 0x7fffffff,%eax
[ ]*[a-f0-9]+: a1 00 00 00 80 mov 0x80000000,%eax
[ ]*[a-f0-9]+: a1 00 00 00 80 mov 0x80000000,%eax
+[ ]*[a-f0-9]+: b8 f0 00 e0 0e mov \$0xee000f0,%eax
[ ]*[a-f0-9]+: 89 98 f0 00 e0 0e mov %ebx,0xee000f0\(%eax\)
[ ]*[a-f0-9]+: 89 98 f0 00 e0 0e mov %ebx,0xee000f0\(%eax\)
[ ]*[a-f0-9]+: 65 89 98 f0 00 e0 0e mov %ebx,%gs:0xee000f0\(%eax\)
mov -0x80000000,%eax
.intel_syntax noprefix
+ mov eax, offset 0xEE000F0
+
mov DWORD PTR [eax+0xEE000F0], ebx
mov [eax+0xEE000F0], ebx
mov DWORD PTR gs:[eax+0xEE000F0], ebx
.*:167: Error: .*
.*:168: Error: .*
.*:169: Error: .*
-.*:170: Error: .*
.*:172: Error: .*
movzx eax, byte ptr [gs:eax]
movzx eax, byte gs:ptr [eax]
movzx eax, byte ptr 1
- movzx eax, byte ptr [1]
+#XXX? movzx eax, byte ptr [1]
mov eax, 3:5
[ ]*[a-f0-9]+: 8b 04 25 00 00 00 80 mov eax,DWORD PTR ds:0xffffffff80000000
[ ]*[a-f0-9]+: 8b 04 25 ff ff ff 7f mov eax,DWORD PTR ds:0x7fffffff
[ ]*[a-f0-9]+: a1 00 00 00 80 00 00 00 00 mov eax,ds:0x80000000
+[ ]*[a-f0-9]+: b8 f0 00 e0 0e mov eax,0xee000f0
[ ]*[a-f0-9]+: 89 98 f0 00 e0 0e mov DWORD PTR \[rax\+0xee000f0\],ebx
[ ]*[a-f0-9]+: 89 98 f0 00 e0 0e mov DWORD PTR \[rax\+0xee000f0\],ebx
[ ]*[a-f0-9]+: 65 89 98 f0 00 e0 0e mov DWORD PTR gs:\[rax\+0xee000f0\],ebx
[ ]*[a-f0-9]+: 8b 04 25 00 00 00 80 mov 0xffffffff80000000,%eax
[ ]*[a-f0-9]+: 8b 04 25 ff ff ff 7f mov 0x7fffffff,%eax
[ ]*[a-f0-9]+: a1 00 00 00 80 00 00 00 00 mov 0x80000000,%eax
+[ ]*[a-f0-9]+: b8 f0 00 e0 0e mov \$0xee000f0,%eax
[ ]*[a-f0-9]+: 89 98 f0 00 e0 0e mov %ebx,0xee000f0\(%rax\)
[ ]*[a-f0-9]+: 89 98 f0 00 e0 0e mov %ebx,0xee000f0\(%rax\)
[ ]*[a-f0-9]+: 65 89 98 f0 00 e0 0e mov %ebx,%gs:0xee000f0\(%rax\)
mov 0x80000000,%eax
.intel_syntax noprefix
+ mov eax, offset 0xEE000F0
+
mov DWORD PTR [rax+0xEE000F0], ebx
mov [rax+0xEE000F0], ebx
mov DWORD PTR gs:[rax+0xEE000F0], ebx