diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2008-01-16 00:05:56 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2008-01-16 00:05:56 +0000 |
commit | fd07a1c8801d075ea29c8bc908d14df36f9d02b0 (patch) | |
tree | 0fb5a3e40e386ba04a3e3315c60ce226c2c2e183 | |
parent | 38177b2923210edf02f1769959151dec17fd7aea (diff) | |
download | gdb-fd07a1c8801d075ea29c8bc908d14df36f9d02b0.zip gdb-fd07a1c8801d075ea29c8bc908d14df36f9d02b0.tar.gz gdb-fd07a1c8801d075ea29c8bc908d14df36f9d02b0.tar.bz2 |
gas/testsuite/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/prescott.s: Add tests for movddup in Intel syntax.
* gas/i386/x86-64-prescott.s: Likewise.
* gas/i386/prescott.d: Updated.
* gas/i386/x86-64-prescott.d: Likewise.
opcodes/
2008-01-15 H.J. Lu <hongjiu.lu@intel.com>
* i386-opc.tbl: Use Qword on movddup.
* i386-tbl.h: Regenerated.
-rw-r--r-- | gas/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/prescott.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/prescott.s | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-prescott.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-prescott.s | 4 | ||||
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/i386-opc.tbl | 2 | ||||
-rw-r--r-- | opcodes/i386-tbl.h | 2 |
8 files changed, 27 insertions, 6 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 120984a..5f2f9f0 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,13 @@ 2008-01-15 H.J. Lu <hongjiu.lu@intel.com> + * gas/i386/prescott.s: Add tests for movddup in Intel syntax. + * gas/i386/x86-64-prescott.s: Likewise. + + * gas/i386/prescott.d: Updated. + * gas/i386/x86-64-prescott.d: Likewise. + +2008-01-15 H.J. Lu <hongjiu.lu@intel.com> + * gas/i386/i386.s: Add more tests for movsx and movzx. * gas/i386/x86_64.s: Likewise. diff --git a/gas/testsuite/gas/i386/prescott.d b/gas/testsuite/gas/i386/prescott.d index 9b701c0..ed38509 100644 --- a/gas/testsuite/gas/i386/prescott.d +++ b/gas/testsuite/gas/i386/prescott.d @@ -34,4 +34,6 @@ Disassembly of section .text: 69: 0f 01 c9 [ ]*mwait %eax,%ecx 6c: 67 0f 01 c8 [ ]*monitor %ax,%ecx,%edx 70: 67 0f 01 c8 [ ]*monitor %ax,%ecx,%edx - ... + 74: f2 0f 12 38 [ ]*movddup \(%eax\),%xmm7 + 78: f2 0f 12 38 [ ]*movddup \(%eax\),%xmm7 +#pass diff --git a/gas/testsuite/gas/i386/prescott.s b/gas/testsuite/gas/i386/prescott.s index 95dacf7..6049c97 100644 --- a/gas/testsuite/gas/i386/prescott.s +++ b/gas/testsuite/gas/i386/prescott.s @@ -32,4 +32,6 @@ foo: monitor %ax,%ecx,%edx addr16 monitor - .p2align 4,0 + .intel_syntax noprefix + movddup xmm7,[eax] + movddup xmm7,QWORD PTR [eax] diff --git a/gas/testsuite/gas/i386/x86-64-prescott.d b/gas/testsuite/gas/i386/x86-64-prescott.d index 26b9e6e..943ad3e 100644 --- a/gas/testsuite/gas/i386/x86-64-prescott.d +++ b/gas/testsuite/gas/i386/x86-64-prescott.d @@ -34,4 +34,6 @@ Disassembly of section .text: 69: 0f 01 c9 [ ]*mwait %rax,%rcx 6c: 67 0f 01 c8 [ ]*monitor %eax,%rcx,%rdx 70: 67 0f 01 c8 [ ]*monitor %eax,%rcx,%rdx - ... + 74: f2 0f 12 38 [ ]*movddup \(%rax\),%xmm7 + 78: f2 0f 12 38 [ ]*movddup \(%rax\),%xmm7 +#pass diff --git a/gas/testsuite/gas/i386/x86-64-prescott.s b/gas/testsuite/gas/i386/x86-64-prescott.s index 0f03683..58fea02 100644 --- a/gas/testsuite/gas/i386/x86-64-prescott.s +++ b/gas/testsuite/gas/i386/x86-64-prescott.s @@ -32,4 +32,6 @@ foo: monitor %eax,%rcx,%rdx addr32 monitor - .p2align 4,0 + .intel_syntax noprefix + movddup xmm7,[rax] + movddup xmm7,QWORD PTR [rax] diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 4188e9f..20c0447 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,10 @@ 2008-01-15 H.J. Lu <hongjiu.lu@intel.com> + * i386-opc.tbl: Use Qword on movddup. + * i386-tbl.h: Regenerated. + +2008-01-15 H.J. Lu <hongjiu.lu@intel.com> + * i386-opc.tbl: Put back 16bit movsx/movzx for AT&T syntax. * i386-tbl.h: Regenerated. diff --git a/opcodes/i386-opc.tbl b/opcodes/i386-opc.tbl index 22c54c3..337722c 100644 --- a/opcodes/i386-opc.tbl +++ b/opcodes/i386-opc.tbl @@ -1275,7 +1275,7 @@ monitor, 0, 0xf01, 0xc8, 2, CpuSSE3, No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ monitor, 3, 0xf01, 0xc8, 2, CpuSSE3|CpuNo64, No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|ImmExt|AddrPrefixOp0, { Reg16|Reg32, Reg32, Reg32 } // Need to ensure only "monitor %rax/%eax,%rcx,%rdx" is accepted. monitor, 3, 0xf01, 0xc8, 2, CpuSSE3|Cpu64, No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|ImmExt|AddrPrefixOp0|NoRex64, { Reg32|Reg64, Reg64, Reg64 } -movddup, 2, 0xf20f12, None, 2, CpuSSE3, Modrm|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Xmmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|RegXMM, RegXMM } +movddup, 2, 0xf20f12, None, 2, CpuSSE3, Modrm|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Qword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|RegXMM, RegXMM } movshdup, 2, 0xf30f16, None, 2, CpuSSE3, Modrm|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Xmmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|RegXMM, RegXMM } movsldup, 2, 0xf30f12, None, 2, CpuSSE3, Modrm|IgnoreSize|No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf, { Xmmword|Unspecified|BaseIndex|Disp8|Disp16|Disp32|Disp32S|RegXMM, RegXMM } mwait, 0, 0xf01, 0xc9, 2, CpuSSE3, No_bSuf|No_wSuf|No_lSuf|No_sSuf|No_qSuf|No_ldSuf|ImmExt, { 0 } diff --git a/opcodes/i386-tbl.h b/opcodes/i386-tbl.h index 8622fb3..4ee01a5 100644 --- a/opcodes/i386-tbl.h +++ b/opcodes/i386-tbl.h @@ -10919,7 +10919,7 @@ const template i386_optab[] = 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, { { { 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, - 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0 } }, { { 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |