aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-05-04 11:10:55 +0000
committerAlan Modra <amodra@gmail.com>2001-05-04 11:10:55 +0000
commit992aaec9a9e9657ab62a5fb3282a48ec778c903c (patch)
treef483c4a1976221004a8f3e443d64c2230fa77c61 /gas/testsuite
parentcac153277184781566fe0da208c79e1b7661f876 (diff)
downloadgdb-992aaec9a9e9657ab62a5fb3282a48ec778c903c.zip
gdb-992aaec9a9e9657ab62a5fb3282a48ec778c903c.tar.gz
gdb-992aaec9a9e9657ab62a5fb3282a48ec778c903c.tar.bz2
Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/i386/katmai.d4
-rw-r--r--gas/testsuite/gas/i386/sse2.d2
-rw-r--r--gas/testsuite/gas/i386/ssemmx2.d6
4 files changed, 13 insertions, 6 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index d88b36d..0eb1dd5 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2001-05-04 Alan Modra <amodra@one.net.au>
+
+ * gas/i386/katmai.d: Correct pmovmskb and pextrw opcodes.
+ * gas/i386/ssemmx2.d: Likewise. Correct register for pextrw,
+ pinsrw, and pmovmskb.
+ * gas/i386/sse2.d: Correct register for movmskpd.
+
2001-05-02 Johan Rydberg <jrydberg@opencores.org>
* gas/openrisc/addi.s: New file.
diff --git a/gas/testsuite/gas/i386/katmai.d b/gas/testsuite/gas/i386/katmai.d
index 7d08581..8c681de 100644
--- a/gas/testsuite/gas/i386/katmai.d
+++ b/gas/testsuite/gas/i386/katmai.d
@@ -135,7 +135,7 @@ Disassembly of section .text:
1e4: 0f e0 0a [ ]*pavgb \(%edx\),%mm1
1e7: 0f e3 d3 [ ]*pavgw %mm3,%mm2
1ea: 0f e3 1c 24 [ ]*pavgw \(%esp,1\),%mm3
- 1ee: 0f c5 c8 00 [ ]*pextrw \$0x0,%mm1,%eax
+ 1ee: 0f c5 c1 00 [ ]*pextrw \$0x0,%mm1,%eax
1f2: 0f c4 09 01 [ ]*pinsrw \$0x1,\(%ecx\),%mm1
1f6: 0f c4 d2 02 [ ]*pinsrw \$0x2,%edx,%mm2
1fa: 0f ee c1 [ ]*pmaxsw %mm1,%mm0
@@ -146,7 +146,7 @@ Disassembly of section .text:
20a: 0f ea 2e [ ]*pminsw \(%esi\),%mm5
20d: 0f da f7 [ ]*pminub %mm7,%mm6
210: 0f da 38 [ ]*pminub \(%eax\),%mm7
- 213: 0f d7 e8 [ ]*pmovmskb %mm5,%eax
+ 213: 0f d7 c5 [ ]*pmovmskb %mm5,%eax
216: 0f e4 e5 [ ]*pmulhuw %mm5,%mm4
219: 0f e4 2e [ ]*pmulhuw \(%esi\),%mm5
21c: 0f f6 f7 [ ]*psadbw %mm7,%mm6
diff --git a/gas/testsuite/gas/i386/sse2.d b/gas/testsuite/gas/i386/sse2.d
index d5bcacf..6a55b6f 100644
--- a/gas/testsuite/gas/i386/sse2.d
+++ b/gas/testsuite/gas/i386/sse2.d
@@ -95,7 +95,7 @@ Disassembly of section .text:
181: 66 0f 16 2e[ ]+movhpd \(%esi\),%xmm5
185: 66 0f 13 07[ ]+movlpd %xmm0,\(%edi\)
189: 66 0f 12 00[ ]+movlpd \(%eax\),%xmm0
- 18d: 66 0f 50 ca[ ]+movmskpd %xmm2,%cx
+ 18d: 66 0f 50 ca[ ]+movmskpd %xmm2,%ecx
191: 66 0f 10 d3[ ]+movupd %xmm3,%xmm2
195: 66 0f 11 22[ ]+movupd %xmm4,\(%edx\)
199: 66 0f 10 65 00[ ]+movupd 0x0\(%ebp\),%xmm4
diff --git a/gas/testsuite/gas/i386/ssemmx2.d b/gas/testsuite/gas/i386/ssemmx2.d
index 140b3c2..39cc68c 100644
--- a/gas/testsuite/gas/i386/ssemmx2.d
+++ b/gas/testsuite/gas/i386/ssemmx2.d
@@ -11,9 +11,9 @@ Disassembly of section .text:
[ ]+4: 66 0f e0 0a[ ]+pavgb[ ]+\(%edx\),%xmm1
[ ]+8: 66 0f e3 d3[ ]+pavgw[ ]+%xmm3,%xmm2
[ ]+c: 66 0f e3 1c 24[ ]+pavgw[ ]+\(%esp,1\),%xmm3
-[ ]+11: 66 0f c5 c8 00[ ]+pextrw \$0x0,%xmm1,%ax
+[ ]+11: 66 0f c5 c1 00[ ]+pextrw \$0x0,%xmm1,%eax
[ ]+16: 66 0f c4 09 01[ ]+pinsrw \$0x1,\(%ecx\),%xmm1
-[ ]+1b: 66 0f c4 d2 02[ ]+pinsrw \$0x2,%dx,%xmm2
+[ ]+1b: 66 0f c4 d2 02[ ]+pinsrw \$0x2,%edx,%xmm2
[ ]+20: 66 0f ee c1[ ]+pmaxsw %xmm1,%xmm0
[ ]+24: 66 0f ee 0a[ ]+pmaxsw \(%edx\),%xmm1
[ ]+28: 66 0f de d2[ ]+pmaxub %xmm2,%xmm2
@@ -22,7 +22,7 @@ Disassembly of section .text:
[ ]+35: 66 0f ea 2e[ ]+pminsw \(%esi\),%xmm5
[ ]+39: 66 0f da f7[ ]+pminub %xmm7,%xmm6
[ ]+3d: 66 0f da 38[ ]+pminub \(%eax\),%xmm7
-[ ]+41: 66 0f d7 e8[ ]+pmovmskb %xmm5,%ax
+[ ]+41: 66 0f d7 c5[ ]+pmovmskb %xmm5,%eax
[ ]+45: 66 0f e4 e5[ ]+pmulhuw %xmm5,%xmm4
[ ]+49: 66 0f e4 2e[ ]+pmulhuw \(%esi\),%xmm5
[ ]+4d: 66 0f f6 f7[ ]+psadbw %xmm7,%xmm6