aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-11-18 14:37:23 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-11-18 14:37:23 -0800
commit15bb7f9aee828c149dc8fcac5a48b9fc37563a87 (patch)
tree55a76861912b9e556ec6cd4feaf7c77aa85eac0f
parent53ce3c3929c7121f155e0a4a2492c8dba3878dfd (diff)
downloadgdb-15bb7f9aee828c149dc8fcac5a48b9fc37563a87.zip
gdb-15bb7f9aee828c149dc8fcac5a48b9fc37563a87.tar.gz
gdb-15bb7f9aee828c149dc8fcac5a48b9fc37563a87.tar.bz2
Update x86 gas tests for mingw
* 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.
-rw-r--r--gas/testsuite/ChangeLog10
-rw-r--r--gas/testsuite/gas/i386/avx512f-nondef.d2
-rw-r--r--gas/testsuite/gas/i386/mpx-add-bnd-prefix.d2
-rw-r--r--gas/testsuite/gas/i386/x86-64-avx512f-nondef.d2
-rw-r--r--gas/testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d2
-rw-r--r--gas/testsuite/gas/i386/x86-64-mpx-addr32.d1
-rw-r--r--gas/testsuite/gas/i386/x86-64-opcode.d10
-rw-r--r--gas/testsuite/gas/i386/x86-64-sha.d1
8 files changed, 21 insertions, 9 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 174ca8e..1d38ed2 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/i386/avx512f-nondef.d b/gas/testsuite/gas/i386/avx512f-nondef.d
index e9668c4..d768b7c 100644
--- a/gas/testsuite/gas/i386/avx512f-nondef.d
+++ b/gas/testsuite/gas/i386/avx512f-nondef.d
@@ -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
diff --git a/gas/testsuite/gas/i386/mpx-add-bnd-prefix.d b/gas/testsuite/gas/i386/mpx-add-bnd-prefix.d
index 1e925ef..571f0da 100644
--- a/gas/testsuite/gas/i386/mpx-add-bnd-prefix.d
+++ b/gas/testsuite/gas/i386/mpx-add-bnd-prefix.d
@@ -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>
diff --git a/gas/testsuite/gas/i386/x86-64-avx512f-nondef.d b/gas/testsuite/gas/i386/x86-64-avx512f-nondef.d
index 19c15ca..bce2d80 100644
--- a/gas/testsuite/gas/i386/x86-64-avx512f-nondef.d
+++ b/gas/testsuite/gas/i386/x86-64-avx512f-nondef.d
@@ -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
diff --git a/gas/testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d b/gas/testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d
index cbd77b8..cef644f 100644
--- a/gas/testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d
+++ b/gas/testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d
@@ -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>
diff --git a/gas/testsuite/gas/i386/x86-64-mpx-addr32.d b/gas/testsuite/gas/i386/x86-64-mpx-addr32.d
index 4bf830c..cb53535 100644
--- a/gas/testsuite/gas/i386/x86-64-mpx-addr32.d
+++ b/gas/testsuite/gas/i386/x86-64-mpx-addr32.d
@@ -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
diff --git a/gas/testsuite/gas/i386/x86-64-opcode.d b/gas/testsuite/gas/i386/x86-64-opcode.d
index 127791f..d29c2ab 100644
--- a/gas/testsuite/gas/i386/x86-64-opcode.d
+++ b/gas/testsuite/gas/i386/x86-64-opcode.d
@@ -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\)
diff --git a/gas/testsuite/gas/i386/x86-64-sha.d b/gas/testsuite/gas/i386/x86-64-sha.d
index 64f515d..99aad8a 100644
--- a/gas/testsuite/gas/i386/x86-64-sha.d
+++ b/gas/testsuite/gas/i386/x86-64-sha.d
@@ -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