From 3c7307403487367bc8d163a41324888efcebdd82 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 26 May 2020 14:17:09 -0700 Subject: 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. --- gas/ChangeLog | 6 ++++++ gas/testsuite/gas/i386/align-branch-9.d | 2 +- gas/testsuite/gas/i386/inval-avx512f.l | 3 +++ gas/testsuite/gas/i386/inval-avx512f.s | 1 + 4 files changed, 11 insertions(+), 1 deletion(-) 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 + + * 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 * 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 + 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 -- cgit v1.1