aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-05-26 14:17:09 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-05-26 14:18:08 -0700
commit3c7307403487367bc8d163a41324888efcebdd82 (patch)
tree2692b5f00cbb53377c3247aad1da2fe6e0ccd8bb
parente98d2e6da4512157ab749734dc872aa41830d7c8 (diff)
downloadgdb-3c7307403487367bc8d163a41324888efcebdd82.zip
gdb-3c7307403487367bc8d163a41324888efcebdd82.tar.gz
gdb-3c7307403487367bc8d163a41324888efcebdd82.tar.bz2
gas: Adjust x86 tests for PECOFF
* testsuite/gas/i386/align-branch-9.d: Updated for PECOFF. * testsuite/gas/i386/inval-avx512f.s: Add .p2align for PECOFF. * testsuite/gas/i386/inval-avx512f.l: Updated.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/testsuite/gas/i386/align-branch-9.d2
-rw-r--r--gas/testsuite/gas/i386/inval-avx512f.l3
-rw-r--r--gas/testsuite/gas/i386/inval-avx512f.s1
4 files changed, 11 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1c5160d..97d8776 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2020-05-26 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/gas/i386/align-branch-9.d: Updated for PECOFF.
+ * testsuite/gas/i386/inval-avx512f.s: Add .p2align for PECOFF.
+ * testsuite/gas/i386/inval-avx512f.l: Updated.
+
2020-05-26 Stefan Schulze Frielinghaus <stefansf@linux.ibm.com>
* testsuite/gas/s390/zarch-z13.d: Add regexp checks for vector
diff --git a/gas/testsuite/gas/i386/align-branch-9.d b/gas/testsuite/gas/i386/align-branch-9.d
index 6340817..2d5ceef 100644
--- a/gas/testsuite/gas/i386/align-branch-9.d
+++ b/gas/testsuite/gas/i386/align-branch-9.d
@@ -67,7 +67,7 @@ Disassembly of section .text:
96: 89 b5 50 fb ff ff mov %esi,-0x4b0\(%ebp\)
9c: 89 b5 50 fb ff ff mov %esi,-0x4b0\(%ebp\)
a2: 89 75 0c mov %esi,0xc\(%ebp\)
- a5: e9 fc ff ff ff jmp a6 <foo\+0xa6>
+ a5: e9 [0-9a-f ]+ jmp .*
aa: 89 b5 50 fb ff ff mov %esi,-0x4b0\(%ebp\)
b0: 89 b5 50 fb ff ff mov %esi,-0x4b0\(%ebp\)
b6: 89 b5 50 fb ff ff mov %esi,-0x4b0\(%ebp\)
diff --git a/gas/testsuite/gas/i386/inval-avx512f.l b/gas/testsuite/gas/i386/inval-avx512f.l
index f42437a..c47ac7d 100644
--- a/gas/testsuite/gas/i386/inval-avx512f.l
+++ b/gas/testsuite/gas/i386/inval-avx512f.l
@@ -569,3 +569,6 @@ GAS LISTING .*
[ ]*318 \?\?\?\? 62F27E38[ ]+vcvtneps2bf16 \(%eax\)\{1to8\}, %xmm1
[ ]*318[ ]+7208
[ ]*319[ ]+vcvtneps2bf16 \(%eax\)\{1to16\}, %xmm1
+[ ]*320[ ]+\?\?\?\? 8DB42600 \.p2align 4
+[ ]*320[ ]+0000008D
+[ ]*320[ ]+7600
diff --git a/gas/testsuite/gas/i386/inval-avx512f.s b/gas/testsuite/gas/i386/inval-avx512f.s
index 6aa6f14..7cca7ef 100644
--- a/gas/testsuite/gas/i386/inval-avx512f.s
+++ b/gas/testsuite/gas/i386/inval-avx512f.s
@@ -317,3 +317,4 @@ _start:
vcvtneps2bf16 (%eax){1to4}, %xmm1
vcvtneps2bf16 (%eax){1to8}, %xmm1
vcvtneps2bf16 (%eax){1to16}, %xmm1
+ .p2align 4