diff options
author | Roland McGrath <roland@gnu.org> | 2012-10-24 21:41:33 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2012-10-24 21:41:33 +0000 |
commit | 6c067bbb1a524e90304c4e6c79a9f28bbe5c58e9 (patch) | |
tree | 4ac6250d482ea4ffb557466a53a3883cdc1966cf /gas/testsuite | |
parent | 64f401629ba3680d49952c5e96ff88cd4103a156 (diff) | |
download | ppe42-binutils-6c067bbb1a524e90304c4e6c79a9f28bbe5c58e9.tar.gz ppe42-binutils-6c067bbb1a524e90304c4e6c79a9f28bbe5c58e9.zip |
gas/testsuite/
* gas/i386/rex.s: Add test of REX prefix before fsave (i.e. fwait).
* gas/i386/rex.d: Update.
opcodes/
* i386-dis.c (ckprefix): When bailing out for fwait with prefixes,
set rex_used to rex.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/ilp32/rex.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/rex.d | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/i386/rex.s | 3 |
4 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index b0aa64c1d7..f92b1f5f76 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-10-24 Roland McGrath <mcgrathr@google.com> + + * gas/i386/rex.s: Add test of REX prefix before fsave (i.e. fwait). + * gas/i386/rex.d: Update. + 2012-10-22 Peter Bergner <bergner@vnet.ibm.com> * gas/ppc/altivec.s <vcfpsxws>: Fix opcode spelling. diff --git a/gas/testsuite/gas/i386/ilp32/rex.d b/gas/testsuite/gas/i386/ilp32/rex.d index 50eb22c227..7c704c9917 100644 --- a/gas/testsuite/gas/i386/ilp32/rex.d +++ b/gas/testsuite/gas/i386/ilp32/rex.d @@ -15,6 +15,9 @@ Disassembly of section .text: [ ]*[0-9a-f]+:[ ]+4a 0f ae 04 05 00 00 00 00[ ]+fxsave64[ ]+(0x0)?\(,%r8(,1)?\) [ ]*[0-9a-f]+:[ ]+43 0f ae 04 00[ ]+fxsave[ ]+\(%r8,%r8(,1)?\) [ ]*[0-9a-f]+:[ ]+4b 0f ae 04 00[ ]+fxsave64[ ]+\(%r8,%r8(,1)?\) +[ ]*[0-9a-f]+:[ ]+41\s+rex\.B +[ ]*[0-9a-f]+:[ ]+9b dd 30\s+fsave\s+\(%rax\) +[ ]*[0-9a-f]+:[ ]+9b 41 dd 30\s+fsave\s+\(%r8\) [ ]*[0-9a-f]+:[ ]+40 c5 f9 28 00[ ]+rex vmovapd \(%rax\),%xmm0 [ ]*[0-9a-f]+:[ ]+40[ ]+rex [ ]*[0-9a-f]+:[ ]+41[ ]+rex.B diff --git a/gas/testsuite/gas/i386/rex.d b/gas/testsuite/gas/i386/rex.d index 3548ff231c..bf783c684f 100644 --- a/gas/testsuite/gas/i386/rex.d +++ b/gas/testsuite/gas/i386/rex.d @@ -14,6 +14,9 @@ Disassembly of section .text: [ ]*[0-9a-f]+:[ ]+4a 0f ae 04 05 00 00 00 00[ ]+fxsave64[ ]+(0x0)?\(,%r8(,1)?\) [ ]*[0-9a-f]+:[ ]+43 0f ae 04 00[ ]+fxsave[ ]+\(%r8,%r8(,1)?\) [ ]*[0-9a-f]+:[ ]+4b 0f ae 04 00[ ]+fxsave64[ ]+\(%r8,%r8(,1)?\) +[ ]*[0-9a-f]+:[ ]+41\s+rex\.B +[ ]*[0-9a-f]+:[ ]+9b dd 30\s+fsave\s+\(%rax\) +[ ]*[0-9a-f]+:[ ]+9b 41 dd 30\s+fsave\s+\(%r8\) [ ]*[0-9a-f]+:[ ]+40 c5 f9 28 00[ ]+rex vmovapd \(%rax\),%xmm0 [ ]*[0-9a-f]+:[ ]+40[ ]+rex [ ]*[0-9a-f]+:[ ]+41[ ]+rex.B diff --git a/gas/testsuite/gas/i386/rex.s b/gas/testsuite/gas/i386/rex.s index 055edb725e..004b9b8533 100644 --- a/gas/testsuite/gas/i386/rex.s +++ b/gas/testsuite/gas/i386/rex.s @@ -10,6 +10,9 @@ _start: rex/fxsave (%r8,%r8) rex64/fxsave (%r8,%r8) + .byte 0x41,0x9b,0xdd,0x30 + fsave (%r8) + .byte 0x40 vmovapd (%rax),%xmm0 |