Update x86 gas tests for mingw
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 18 Nov 2013 22:37:23 +0000 (14:37 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 18 Nov 2013 22:37:23 +0000 (14:37 -0800)
* gas/i386/avx512f-nondef.d: Updated for mingw.
* gas/i386/mpx-add-bnd-prefix.d: Likewise.
* gas/i386/x86-64-avx512f-nondef.d: Likewise.
* gas/i386/x86-64-mpx-add-bnd-prefix.d: Likewise.
* gas/i386/x86-64-mpx-addr32.d: Likewise.
* gas/i386/x86-64-opcode.d: Likewise.
* gas/i386/x86-64-sha.d: Likewise.

gas/testsuite/ChangeLog
gas/testsuite/gas/i386/avx512f-nondef.d
gas/testsuite/gas/i386/mpx-add-bnd-prefix.d
gas/testsuite/gas/i386/x86-64-avx512f-nondef.d
gas/testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d
gas/testsuite/gas/i386/x86-64-mpx-addr32.d
gas/testsuite/gas/i386/x86-64-opcode.d
gas/testsuite/gas/i386/x86-64-sha.d

index 174ca8e..1d38ed2 100644 (file)
@@ -1,3 +1,13 @@
+2013-11-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * gas/i386/avx512f-nondef.d: Updated for mingw.
+       * gas/i386/mpx-add-bnd-prefix.d: Likewise.
+       * gas/i386/x86-64-avx512f-nondef.d: Likewise.
+       * gas/i386/x86-64-mpx-add-bnd-prefix.d: Likewise.
+       * gas/i386/x86-64-mpx-addr32.d: Likewise.
+       * gas/i386/x86-64-opcode.d: Likewise.
+       * gas/i386/x86-64-sha.d: Likewise.
+
 2013-11-18  Renlin Li  <Renlin.Li@arm.com>
 
        * gas/arm/attr-march-armv7ve.d: New test case for armv7ve.
index e9668c4..d768b7c 100644 (file)
@@ -14,6 +14,6 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    62 c2 55 1f 3b f4       vpminud %zmm4,%zmm5,%zmm6\{%k7\}
 [      ]*[a-f0-9]+:    62 f2 7e 48 31 72 7f    vpmovdb %zmm6,0x7f0\(%edx\)
 [      ]*[a-f0-9]+:    62                      vpmovdb %zmm6,\(bad\)
-[      ]*[a-f0-9]+:    f2 7e 58                bnd jle 0x7d
+[      ]*[a-f0-9]+:    f2 7e 58                bnd jle (0x7d|7d <.text\+0x7d>)
 [      ]*[a-f0-9]+:    31 72 7f                xor    %esi,0x7f\(%edx\)
 #pass
index 1e925ef..571f0da 100644 (file)
@@ -7,7 +7,7 @@
 
 Disassembly of section .text:
 
-0+ <foo-0x14>:
+0+ <.*>:
 [      ]*[a-f0-9]+:    f2 e8 0e 00 00 00       bnd call 14 <foo>
 [      ]*[a-f0-9]+:    f2 ff 10                bnd call \*\(%eax\)
 [      ]*[a-f0-9]+:    f2 74 08                bnd je 14 <foo>
index 19c15ca..bce2d80 100644 (file)
@@ -14,6 +14,6 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    62 c2 55 1f 3b f4       vpminud %zmm12,%zmm5,%zmm22\{%k7\}
 [      ]*[a-f0-9]+:    62 f2 7e 48 31 72 7f    vpmovdb %zmm6,0x7f0\(%rdx\)
 [      ]*[a-f0-9]+:    62                      vpmovdb %zmm6,\(bad\)
-[      ]*[a-f0-9]+:    f2 7e 58                bnd jle 0x7d
+[      ]*[a-f0-9]+:    f2 7e 58                bnd jle (0x7d|7d <.text\+0x7d>)
 [      ]*[a-f0-9]+:    31 72 7f                xor    %esi,0x7f\(%rdx\)
 #pass
index cbd77b8..cef644f 100644 (file)
@@ -7,7 +7,7 @@
 
 Disassembly of section .text:
 
-0+ <foo-0x14>:
+0+ <.*>:
 [      ]*[a-f0-9]+:    f2 e8 0e 00 00 00       bnd callq 14 <foo>
 [      ]*[a-f0-9]+:    f2 ff 10                bnd callq \*\(%rax\)
 [      ]*[a-f0-9]+:    f2 74 08                bnd je 14 <foo>
index 4bf830c..cb53535 100644 (file)
@@ -38,3 +38,4 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    67 0f 1b 14 1d 03 00 00 00      addr32 bndstx %bnd2,0x3\(,%rbx,1\)
 [      ]*[a-f0-9]+:    67 0f 1a 44 18 03       addr32 bndldx 0x3\(%rax,%rbx,1\),%bnd0
 [      ]*[a-f0-9]+:    67 0f 1a 14 1d 03 00 00 00      addr32 bndldx 0x3\(,%rbx,1\),%bnd2
+#pass
index 127791f..d29c2ab 100644 (file)
@@ -51,11 +51,11 @@ Disassembly of section .text:
 [      ]*[a-f0-9]+:    48 0f c3 00             movnti %rax,\(%rax\)
 [      ]*[a-f0-9]+:    4d 0f c3 00             movnti %r8,\(%r8\)
 [      ]*[a-f0-9]+:    4c 0f c3 00             movnti %r8,\(%rax\)
-[      ]*[a-f0-9]+:    e2 fe                   loop   0x[0-9a-f]+
-[      ]*[a-f0-9]+:    e2 fe                   loop   0x[0-9a-f]+
-[      ]*[a-f0-9]+:    67 e2 fd                loopl  0x[0-9a-f]+
-[      ]*[a-f0-9]+:    e3 fe                   jrcxz  0x[0-9a-f]+
-[      ]*[a-f0-9]+:    67 e3 fd                jecxz  0x[0-9a-f]+
+[      ]*[a-f0-9]+:    e2 fe                   loop   .*
+[      ]*[a-f0-9]+:    e2 fe                   loop   .*
+[      ]*[a-f0-9]+:    67 e2 fd                loopl  .*
+[      ]*[a-f0-9]+:    e3 fe                   jrcxz  .*
+[      ]*[a-f0-9]+:    67 e3 fd                jecxz  .*
 [      ]*[a-f0-9]+:    41 f6 38                idivb  \(%r8\)
 [      ]*[a-f0-9]+:    f6 38                   idivb  \(%rax\)
 [      ]*[a-f0-9]+:    66 41 f7 38             idivw  \(%r8\)
index 64f515d..99aad8a 100644 (file)
@@ -70,3 +70,4 @@ Disassembly of section \.text:
 [      ]*[a-f0-9]+:    0f 38 cd 10             sha256msg2 \(%rax\),%xmm2
 [      ]*[a-f0-9]+:    0f 38 cd 58 12          sha256msg2 0x12\(%rax\),%xmm3
 [      ]*[a-f0-9]+:    0f 38 cd 24 58          sha256msg2 \(%rax,%rbx,2\),%xmm4
+#pass