diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-sse5.d | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/x86-64-sse5.s | 4 |
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 |