Move fwait test with prefix to prefix.s
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 2 May 2014 15:39:09 +0000 (08:39 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 2 May 2014 15:39:09 +0000 (08:39 -0700)
* gas/i386/opcode-intel.d: Undo the last change.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.
* gas/i386/opcode.s: Likewise.

* gas/i386/prefix.s: Add test for fwait with prefix.
* gas/i386/prefix.d: Updated.

gas/testsuite/ChangeLog
gas/testsuite/gas/i386/opcode-intel.d
gas/testsuite/gas/i386/opcode-suffix.d
gas/testsuite/gas/i386/opcode.d
gas/testsuite/gas/i386/opcode.s
gas/testsuite/gas/i386/prefix.d
gas/testsuite/gas/i386/prefix.s

index d59d640..928adc4 100644 (file)
@@ -1,3 +1,13 @@
+2014-05-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/opcode-intel.d: Undo the last change.
+       * gas/i386/opcode-suffix.d: Likewise.
+       * gas/i386/opcode.d: Likewise.
+       * gas/i386/opcode.s: Likewise.
+
+       * gas/i386/prefix.s: Add test for fwait with prefix.
+       * gas/i386/prefix.d: Updated.
+
 2014-05-01  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR binutils/16891
index a1ebe45..23b7afa 100644 (file)
@@ -592,6 +592,4 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 4b 90 90 90 90 90    cmovnp edx,DWORD PTR \[eax-0x6f6f6f70\]
 [      ]*[a-f0-9]+:    66 0f 4a 90 90 90 90 90         cmovp  dx,WORD PTR \[eax-0x6f6f6f70\]
 [      ]*[a-f0-9]+:    66 0f 4b 90 90 90 90 90         cmovnp dx,WORD PTR \[eax-0x6f6f6f70\]
-[      ]*[a-f0-9]+:    26 9b [         ]*es fwait
-[      ]*[a-f0-9]+:    9b [    ]*fwait
 #pass
index 21ad22b..74e0adb 100644 (file)
@@ -592,6 +592,4 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 4b 90 90 90 90 90    cmovnpl -0x6f6f6f70\(%eax\),%edx
 [      ]*[a-f0-9]+:    66 0f 4a 90 90 90 90 90         cmovpw -0x6f6f6f70\(%eax\),%dx
 [      ]*[a-f0-9]+:    66 0f 4b 90 90 90 90 90         cmovnpw -0x6f6f6f70\(%eax\),%dx
-[      ]*[a-f0-9]+:    26 9b [         ]*es fwait
-[      ]*[a-f0-9]+:    9b [    ]*fwait
 #pass
index 371e40a..1a94fc8 100644 (file)
@@ -591,6 +591,4 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    0f 4b 90 90 90 90 90    cmovnp -0x6f6f6f70\(%eax\),%edx
 [      ]*[a-f0-9]+:    66 0f 4a 90 90 90 90 90         cmovp  -0x6f6f6f70\(%eax\),%dx
 [      ]*[a-f0-9]+:    66 0f 4b 90 90 90 90 90         cmovnp -0x6f6f6f70\(%eax\),%dx
-[      ]*[a-f0-9]+:    26 9b [         ]*es fwait
-[      ]*[a-f0-9]+:    9b [    ]*fwait
 #pass
index 72333a5..a07e423 100644 (file)
@@ -589,6 +589,3 @@ foo:
  cmovpo 0x90909090(%eax),%edx
  cmovpe  0x90909090(%eax),%dx
  cmovpo 0x90909090(%eax),%dx
-
- es fwait
- fwait
index e155230..4139658 100644 (file)
@@ -11,4 +11,5 @@ Disassembly of section .text:
    8:  9b df e0 [      ]*fstsw  %ax
    b:  9b 67 df e0 [   ]*addr16 fstsw %ax
    f:  36 67 66 f3 a7 [        ]*repz cmpsw %es:\(%di\),%ss:\(%si\)
+  14:  26 9b[  ]*es fwait
 #pass
index a141ad5..2bf3c71 100644 (file)
@@ -2,5 +2,7 @@
  fstsw; fstsw %ax;
  addr16 fstsw %ax ;addr16 rep cmpsw %es:(%di),%ss:(%si)
 
+ es fwait
+
 # Get a good alignment.
  .p2align      4,0