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 d59d640e1149c33604d8a29c0b8ad9bec8620fd2..928adc4a0017321f2bc18c2168416cba15638364 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 a1ebe4554331a2ad876860f87431f8ca09217f89..23b7afad6df85de17eeed0bc371ff73af6675c18 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 21ad22bcb94489a65825540d2a585104455a331a..74e0adbbb194e6d8a22b3257dc4f8179335fa701 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 371e40ac09120d6c7b78904f8b258304f9b55887..1a94fc81f14d3e5887b8043bb2191f86eeca834a 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 72333a557b537d4414a14e59b1574d3d3f38ef10..a07e42372df38652e5a192c18531fab7853a050e 100644 (file)
@@ -589,6 +589,3 @@ foo:
  cmovpo 0x90909090(%eax),%edx
  cmovpe  0x90909090(%eax),%dx
  cmovpo 0x90909090(%eax),%dx
-
- es fwait
- fwait
index e15523021381b0ca2cd259f1b5d2717800e5fe87..4139658cac8ddf296dcad36d3b818b75c4dec7c9 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 a141ad5c6336e5ba29116bf4d50cf457635aeee8..2bf3c71f59e63cb3b991cc934c61967e29e79421 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