aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDwarakanath Rajagopal <dwarak.rajagopal@amd.com>2008-04-16 15:31:33 +0000
committerDwarakanath Rajagopal <dwarak.rajagopal@amd.com>2008-04-16 15:31:33 +0000
commitce886ab1f881e00ad77c6b1a41e351d7b47f2540 (patch)
tree7b8d609e2aa69609dca18adf0c90a65535eb92b0 /gas
parenta47ec5feb4d2a28c13b10ac758a0751c746e5c26 (diff)
downloadbinutils-ce886ab1f881e00ad77c6b1a41e351d7b47f2540.zip
binutils-ce886ab1f881e00ad77c6b1a41e351d7b47f2540.tar.gz
binutils-ce886ab1f881e00ad77c6b1a41e351d7b47f2540.tar.bz2
<opcode changes>
2008-04-16 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> Michael Meissner <michael.meissner@amd.com> * i386-opc.tbl: Fix protX to allow memory in the middle operand. * i386-tbl.h: Regenerate from i386-opc.tbl. <gas/testsuite changes> 2008-04-16 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> Michael Meissner <michael.meissner@amd.com> * gas/i386/x86-64-sse5.s: Add protX tests to allow memory in the middle operand. * gas/i386/x86-64-sse5.d: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/i386/x86-64-sse5.d5
-rw-r--r--gas/testsuite/gas/i386/x86-64-sse5.s4
3 files changed, 15 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 6b0b555..3dcb5ca 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2008-04-16 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com>
+ Michael Meissner <michael.meissner@amd.com>
+
+ * gas/i386/x86-64-sse5.s: Add protX tests to allow memory in the middle
+ operand.
+ * gas/i386/x86-64-sse5.d: Likewise.
+
2008-04-16 David S. Miller <davem@davemloft.net>
* gas/sparc/gotops32.d: New.
diff --git a/gas/testsuite/gas/i386/x86-64-sse5.d b/gas/testsuite/gas/i386/x86-64-sse5.d
index cd3cb3d..92b1c90 100644
--- a/gas/testsuite/gas/i386/x86-64-sse5.d
+++ b/gas/testsuite/gas/i386/x86-64-sse5.d
@@ -2838,4 +2838,7 @@ Disassembly of section .text:
[ ]+48c8:[ ]+41 0f 7a 30 8f 00 00 10 00[ ]+cvtph2ps 0x100000\(%r15\),%xmm1
[ ]+48d1:[ ]+0f 7a 31 d1[ ]+cvtps2ph %xmm2,%xmm1
[ ]+48d5:[ ]+41 0f 7a 31 8f 00 00 10 00[ ]+cvtps2ph %xmm1,0x100000\(%r15\)
-[ ]+48de:[ ]+c3[ ]+retq[ ]*
+[ ]+48de:[ ]+0f 7b 40 41 04 04[ ]+protb[ ]+\$0x4,0x4\(%rcx\),%xmm0
+[ ]+48e4:[ ]+41 0f 7b 41 42 08 01[ ]+protw[ ]+\$0x1,0x8\(%r10\),%xmm0
+[ ]+48eb:[ ]+41 0f 7b 43 41 04 03[ ]+protq[ ]+\$0x3,0x4\(%r9\),%xmm0
+[ ]+48f2:[ ]+c3[ ]+retq[ ]*
diff --git a/gas/testsuite/gas/i386/x86-64-sse5.s b/gas/testsuite/gas/i386/x86-64-sse5.s
index 3c327b2..0926e45 100644
--- a/gas/testsuite/gas/i386/x86-64-sse5.s
+++ b/gas/testsuite/gas/i386/x86-64-sse5.s
@@ -2966,5 +2966,9 @@ foo:
cvtps2ph %xmm2, %xmm1
cvtps2ph %xmm1, 0x100000(%r15)
+ protb $0x4, 0x4(%rdx), %xmm1
+ protw $0x1, 0x8(%r14), %xmm2
+ protq $0x3, 0x4(%r15), %xmm1
+
ret
.size foo, .-foo