diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2006-12-15 13:11:56 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2006-12-15 13:11:56 +0000 |
commit | fb9c77c70e3dab434c1e4b7cd65f029ecb01dbe4 (patch) | |
tree | 4f6cba1dad0d0124cf2edbeb699d6bcb6259c1d8 /gas | |
parent | a6c73b34d023bad03cf779d6b252596c6f0f16ff (diff) | |
download | gdb-fb9c77c70e3dab434c1e4b7cd65f029ecb01dbe4.zip gdb-fb9c77c70e3dab434c1e4b7cd65f029ecb01dbe4.tar.gz gdb-fb9c77c70e3dab434c1e4b7cd65f029ecb01dbe4.tar.bz2 |
gas/testsuite/
2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/x86-64-inval.s: cmpxchg16b needs oword ptr, instead
of xmmword ptr.
* gas/i386/x86_64.s: Likewise.
* gas/i386/x86-64-inval.l: Updated.
opcodes/
2006-12-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (o_mode): New for 16-byte operand.
(intel_operand_size): Generate "OWORD PTR " for o_mode.
(CMPXCHG8B_Fixup): Set bytemode to o_mode instead of x_mode.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-inval.l | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-inval.s | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86_64.s | 2 |
4 files changed, 10 insertions, 3 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index cfd50e7..42ee1ca 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2006-12-15 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/x86-64-inval.s: cmpxchg16b needs oword ptr, instead + of xmmword ptr. + * gas/i386/x86_64.s: Likewise. + * gas/i386/x86-64-inval.l: Updated. + 2006-12-14 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/x86-64-inval.s: Add cmpxchg16b. diff --git a/gas/testsuite/gas/i386/x86-64-inval.l b/gas/testsuite/gas/i386/x86-64-inval.l index 2cbb867..87503e5 100644 --- a/gas/testsuite/gas/i386/x86-64-inval.l +++ b/gas/testsuite/gas/i386/x86-64-inval.l @@ -106,4 +106,4 @@ GAS LISTING .* 51 [ ]*retl # can't have 32-bit stack operands 52 [ ]*insertq \$4,\$2,%xmm2,%ebx # The last operand must be XMM register. 53 [ ]*.intel_syntax noprefix - 54 [ ]*cmpxchg16b dword ptr \[rax\] # Must be xmmword + 54 [ ]*cmpxchg16b dword ptr \[rax\] # Must be oword diff --git a/gas/testsuite/gas/i386/x86-64-inval.s b/gas/testsuite/gas/i386/x86-64-inval.s index 7178ede..f7a4379 100644 --- a/gas/testsuite/gas/i386/x86-64-inval.s +++ b/gas/testsuite/gas/i386/x86-64-inval.s @@ -51,4 +51,4 @@ foo: jcxz foo # No prefix exists to select CX as a counter retl # can't have 32-bit stack operands insertq $4,$2,%xmm2,%ebx # The last operand must be XMM register. .intel_syntax noprefix - cmpxchg16b dword ptr [rax] # Must be xmmword + cmpxchg16b dword ptr [rax] # Must be oword diff --git a/gas/testsuite/gas/i386/x86_64.s b/gas/testsuite/gas/i386/x86_64.s index c89d393..aad9b27 100644 --- a/gas/testsuite/gas/i386/x86_64.s +++ b/gas/testsuite/gas/i386/x86_64.s @@ -191,7 +191,7 @@ movq %rax,0xffffffffff332211 cmpxchg16b (%rax) .intel_syntax noprefix -cmpxchg16b xmmword ptr [rax] +cmpxchg16b oword ptr [rax] # Get a good alignment. .p2align 4,0 |