gas: Adjust x86 tests for PECOFF
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 26 May 2020 21:17:09 +0000 (14:17 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 26 May 2020 21:18:08 +0000 (14:18 -0700)
* 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.

gas/ChangeLog
gas/testsuite/gas/i386/align-branch-9.d
gas/testsuite/gas/i386/inval-avx512f.l
gas/testsuite/gas/i386/inval-avx512f.s

index 1c5160d14bcfbc9ee392dba70fcd452b120db3d1..97d877625073501c9bef68973ca04c46e3207aec 100644 (file)
@@ -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
index 6340817d048eb286bbc4df31dcab44e4400cca94..2d5ceef09b1a7cbdbed890794907499132090e8b 100644 (file)
@@ -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\)
index f42437a6c3d75156cd1909ea306bdb89b582f426..c47ac7db90ca711a24a5413f42931319a1e83a42 100644 (file)
@@ -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
index 6aa6f14e89d170087523e6251071f9fa6d616393..7cca7ef854c4a6d8d69a16cd9cd65d237d7374ca 100644 (file)
@@ -317,3 +317,4 @@ _start:
        vcvtneps2bf16 (%eax){1to4}, %xmm1
        vcvtneps2bf16 (%eax){1to8}, %xmm1
        vcvtneps2bf16 (%eax){1to16}, %xmm1
+       .p2align 4