diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-07-16 19:16:44 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-07-16 19:16:44 +0000 |
commit | 1405105681b49399baa02f6d88173ff0ec1edab3 (patch) | |
tree | fb490ee621b88c49da49f2ce8fe1bdf74c54d171 | |
parent | 2e024c20ebf22ba56d2b25498076c60cf957132e (diff) | |
download | gdb-1405105681b49399baa02f6d88173ff0ec1edab3.zip gdb-1405105681b49399baa02f6d88173ff0ec1edab3.tar.gz gdb-1405105681b49399baa02f6d88173ff0ec1edab3.tar.bz2 |
gas/testsuite/
2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/simd.s: Add tests for punpcklbw, punpckldq,
punpcklwd and punpcklqdq.
* gas/i386/x86-64-simd.s: Likewise.
* gas/i386/simd-intel.d: Updated.
* gas/i386/simd.d: Likewise.
* gas/i386/x86-64-simd-intel.d: Likewise.
* gas/i386/x86-64-simd.d: Likewise.
opcodes/
2007-07-16 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (EMq): Removed.
(EMx): New.
(prefix_user_table): Replace EMq with EMx.
-rw-r--r-- | gas/testsuite/ChangeLog | 11 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/simd-intel.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/simd.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/simd.s | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-simd-intel.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-simd.d | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-simd.s | 4 | ||||
-rw-r--r-- | opcodes/ChangeLog | 6 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 8 |
9 files changed, 45 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 210e5f6..7793731 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,14 @@ +2007-07-16 H.J. Lu <hongjiu.lu@intel.com> + + * gas/i386/simd.s: Add tests for punpcklbw, punpckldq, + punpcklwd and punpcklqdq. + * gas/i386/x86-64-simd.s: Likewise. + + * gas/i386/simd-intel.d: Updated. + * gas/i386/simd.d: Likewise. + * gas/i386/x86-64-simd-intel.d: Likewise. + * gas/i386/x86-64-simd.d: Likewise. + 2007-07-14 Nick Clifton <nickc@redhat.com> * gas/arm/arm.s: Add tests for re-aliasing a previously removed diff --git a/gas/testsuite/gas/i386/simd-intel.d b/gas/testsuite/gas/i386/simd-intel.d index 7f4cc10..a63b8c5 100644 --- a/gas/testsuite/gas/i386/simd-intel.d +++ b/gas/testsuite/gas/i386/simd-intel.d @@ -33,5 +33,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 0f 60 0d 78 56 34 12 punpcklbw mm1,DWORD PTR ds:0x12345678 [ ]*[a-f0-9]+: 0f 62 0d 78 56 34 12 punpckldq mm1,DWORD PTR ds:0x12345678 [ ]*[a-f0-9]+: 0f 61 0d 78 56 34 12 punpcklwd mm1,DWORD PTR ds:0x12345678 +[ ]*[a-f0-9]+: 66 0f 60 0d 78 56 34 12 punpcklbw xmm1,XMMWORD PTR ds:0x12345678 +[ ]*[a-f0-9]+: 66 0f 62 0d 78 56 34 12 punpckldq xmm1,XMMWORD PTR ds:0x12345678 +[ ]*[a-f0-9]+: 66 0f 61 0d 78 56 34 12 punpcklwd xmm1,XMMWORD PTR ds:0x12345678 +[ ]*[a-f0-9]+: 66 0f 6c 0d 78 56 34 12 punpcklqdq xmm1,XMMWORD PTR ds:0x12345678 [ ]*[a-f0-9]+: 66 0f 2e 0d 78 56 34 12 ucomisd xmm1,QWORD PTR ds:0x12345678 [ ]*[a-f0-9]+: 0f 2e 0d 78 56 34 12 ucomiss xmm1,DWORD PTR ds:0x12345678 diff --git a/gas/testsuite/gas/i386/simd.d b/gas/testsuite/gas/i386/simd.d index 38a296a..b04c27b 100644 --- a/gas/testsuite/gas/i386/simd.d +++ b/gas/testsuite/gas/i386/simd.d @@ -32,5 +32,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 0f 60 0d 78 56 34 12 punpcklbw 0x12345678,%mm1 [ ]*[a-f0-9]+: 0f 62 0d 78 56 34 12 punpckldq 0x12345678,%mm1 [ ]*[a-f0-9]+: 0f 61 0d 78 56 34 12 punpcklwd 0x12345678,%mm1 +[ ]*[a-f0-9]+: 66 0f 60 0d 78 56 34 12 punpcklbw 0x12345678,%xmm1 +[ ]*[a-f0-9]+: 66 0f 62 0d 78 56 34 12 punpckldq 0x12345678,%xmm1 +[ ]*[a-f0-9]+: 66 0f 61 0d 78 56 34 12 punpcklwd 0x12345678,%xmm1 +[ ]*[a-f0-9]+: 66 0f 6c 0d 78 56 34 12 punpcklqdq 0x12345678,%xmm1 [ ]*[a-f0-9]+: 66 0f 2e 0d 78 56 34 12 ucomisd 0x12345678,%xmm1 [ ]*[a-f0-9]+: 0f 2e 0d 78 56 34 12 ucomiss 0x12345678,%xmm1 diff --git a/gas/testsuite/gas/i386/simd.s b/gas/testsuite/gas/i386/simd.s index cd0cf93..592cd5e 100644 --- a/gas/testsuite/gas/i386/simd.s +++ b/gas/testsuite/gas/i386/simd.s @@ -25,5 +25,9 @@ _start: punpcklbw 0x12345678,%mm1 punpckldq 0x12345678,%mm1 punpcklwd 0x12345678,%mm1 + punpcklbw 0x12345678,%xmm1 + punpckldq 0x12345678,%xmm1 + punpcklwd 0x12345678,%xmm1 + punpcklqdq 0x12345678,%xmm1 ucomisd 0x12345678,%xmm1 ucomiss 0x12345678,%xmm1 diff --git a/gas/testsuite/gas/i386/x86-64-simd-intel.d b/gas/testsuite/gas/i386/x86-64-simd-intel.d index 799a9b3..775fff5 100644 --- a/gas/testsuite/gas/i386/x86-64-simd-intel.d +++ b/gas/testsuite/gas/i386/x86-64-simd-intel.d @@ -33,5 +33,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 0f 60 0d 78 56 34 12 punpcklbw mm1,DWORD PTR \[rip\+0x12345678\][ ]*(#.*)? [ ]*[a-f0-9]+: 0f 62 0d 78 56 34 12 punpckldq mm1,DWORD PTR \[rip\+0x12345678\][ ]*(#.*)? [ ]*[a-f0-9]+: 0f 61 0d 78 56 34 12 punpcklwd mm1,DWORD PTR \[rip\+0x12345678\][ ]*(#.*)? +[ ]*[a-f0-9]+: 66 0f 60 0d 78 56 34 12 punpcklbw xmm1,XMMWORD PTR \[rip\+0x12345678\][ ]*(#.*)? +[ ]*[a-f0-9]+: 66 0f 62 0d 78 56 34 12 punpckldq xmm1,XMMWORD PTR \[rip\+0x12345678\][ ]*(#.*)? +[ ]*[a-f0-9]+: 66 0f 61 0d 78 56 34 12 punpcklwd xmm1,XMMWORD PTR \[rip\+0x12345678\][ ]*(#.*)? +[ ]*[a-f0-9]+: 66 0f 6c 0d 78 56 34 12 punpcklqdq xmm1,XMMWORD PTR \[rip\+0x12345678\][ ]*(#.*)? [ ]*[a-f0-9]+: 66 0f 2e 0d 78 56 34 12 ucomisd xmm1,QWORD PTR \[rip\+0x12345678\][ ]*(#.*)? [ ]*[a-f0-9]+: 0f 2e 0d 78 56 34 12 ucomiss xmm1,DWORD PTR \[rip\+0x12345678\][ ]*(#.*)? diff --git a/gas/testsuite/gas/i386/x86-64-simd.d b/gas/testsuite/gas/i386/x86-64-simd.d index f00b2c1..460b405 100644 --- a/gas/testsuite/gas/i386/x86-64-simd.d +++ b/gas/testsuite/gas/i386/x86-64-simd.d @@ -32,5 +32,9 @@ Disassembly of section .text: [ ]*[a-f0-9]+: 0f 60 0d 78 56 34 12 punpcklbw 0x12345678\(%rip\),%mm1[ ]*(#.*)? [ ]*[a-f0-9]+: 0f 62 0d 78 56 34 12 punpckldq 0x12345678\(%rip\),%mm1[ ]*(#.*)? [ ]*[a-f0-9]+: 0f 61 0d 78 56 34 12 punpcklwd 0x12345678\(%rip\),%mm1[ ]*(#.*)? +[ ]*[a-f0-9]+: 66 0f 60 0d 78 56 34 12 punpcklbw 0x12345678\(%rip\),%xmm1[ ]*(#.*)? +[ ]*[a-f0-9]+: 66 0f 62 0d 78 56 34 12 punpckldq 0x12345678\(%rip\),%xmm1[ ]*(#.*)? +[ ]*[a-f0-9]+: 66 0f 61 0d 78 56 34 12 punpcklwd 0x12345678\(%rip\),%xmm1[ ]*(#.*)? +[ ]*[a-f0-9]+: 66 0f 6c 0d 78 56 34 12 punpcklqdq 0x12345678\(%rip\),%xmm1[ ]*(#.*)? [ ]*[a-f0-9]+: 66 0f 2e 0d 78 56 34 12 ucomisd 0x12345678\(%rip\),%xmm1[ ]*(#.*)? [ ]*[a-f0-9]+: 0f 2e 0d 78 56 34 12 ucomiss 0x12345678\(%rip\),%xmm1[ ]*(#.*)? diff --git a/gas/testsuite/gas/i386/x86-64-simd.s b/gas/testsuite/gas/i386/x86-64-simd.s index 579c1ec..91c98b8 100644 --- a/gas/testsuite/gas/i386/x86-64-simd.s +++ b/gas/testsuite/gas/i386/x86-64-simd.s @@ -25,5 +25,9 @@ _start: punpcklbw 0x12345678(%rip),%mm1 punpckldq 0x12345678(%rip),%mm1 punpcklwd 0x12345678(%rip),%mm1 + punpcklbw 0x12345678(%rip),%xmm1 + punpckldq 0x12345678(%rip),%xmm1 + punpcklwd 0x12345678(%rip),%xmm1 + punpcklqdq 0x12345678(%rip),%xmm1 ucomisd 0x12345678(%rip),%xmm1 ucomiss 0x12345678(%rip),%xmm1 diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 35de03e..8826105 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2007-07-16 H.J. Lu <hongjiu.lu@intel.com> + + * i386-dis.c (EMq): Removed. + (EMx): New. + (prefix_user_table): Replace EMq with EMx. + 2007-07-16 Nick Clifton <nickc@redhat.com> * po/nl.po: Updated translation. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 3d654012..29fec0f 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -309,7 +309,7 @@ fetch_data (struct disassemble_info *info, bfd_byte *addr) #define XM { OP_XMM, 0 } #define EM { OP_EM, v_mode } #define EMd { OP_EM, d_mode } -#define EMq { OP_EM, q_mode } +#define EMx { OP_EM, x_mode } #define EXd { OP_EX, d_mode } #define EXq { OP_EX, q_mode } #define EXx { OP_EX, x_mode } @@ -2568,7 +2568,7 @@ static const struct dis386 prefix_user_table[][4] = { { { "punpcklbw",{ MX, EMd } }, { "(bad)", { XX } }, - { "punpcklbw",{ MX, EMq } }, + { "punpcklbw",{ MX, EMx } }, { "(bad)", { XX } }, }, @@ -2576,7 +2576,7 @@ static const struct dis386 prefix_user_table[][4] = { { { "punpcklwd",{ MX, EMd } }, { "(bad)", { XX } }, - { "punpcklwd",{ MX, EMq } }, + { "punpcklwd",{ MX, EMx } }, { "(bad)", { XX } }, }, @@ -2584,7 +2584,7 @@ static const struct dis386 prefix_user_table[][4] = { { { "punpckldq",{ MX, EMd } }, { "(bad)", { XX } }, - { "punpckldq",{ MX, EMq } }, + { "punpckldq",{ MX, EMx } }, { "(bad)", { XX } }, }, }; |