From: H.J. Lu Date: Thu, 26 May 2016 14:55:38 +0000 (-0700) Subject: Append ".p2align 4" to some x86 directive tests X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d5b9a5a3012a5e4a39823cc51afc559c354d76f;p=binutils-gdb.git Append ".p2align 4" to some x86 directive tests Append ".p2align 4" to some x86 directive tests for explicit paddings for section alignment to avoid implicit section alignment in assembler listings. * testsuite/gas/i386/avx512vl-2.l: Append "#pass". * testsuite/gas/i386/noavx-1.l: Likewise. * testsuite/gas/i386/nommx-1.l: Likewise. * testsuite/gas/i386/nosse-1.l: Likewise. * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise. * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4". * testsuite/gas/i386/noavx-1.s: Likewise. * testsuite/gas/i386/nommx-1.s: Likewise. * testsuite/gas/i386/nosse-1.s: Likewise. * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b21e332d80d..78d548faedc 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,16 @@ +2016-05-26 H.J. Lu + + * testsuite/gas/i386/avx512vl-2.l: Append "#pass". + * testsuite/gas/i386/noavx-1.l: Likewise. + * testsuite/gas/i386/nommx-1.l: Likewise. + * testsuite/gas/i386/nosse-1.l: Likewise. + * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise. + * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4". + * testsuite/gas/i386/noavx-1.s: Likewise. + * testsuite/gas/i386/nommx-1.s: Likewise. + * testsuite/gas/i386/nosse-1.s: Likewise. + * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise. + 2016-05-26 Trevor Saunders * config/tc-metag.c (metag_handle_align): Make the type of noop diff --git a/gas/testsuite/gas/i386/avx512vl-2.l b/gas/testsuite/gas/i386/avx512vl-2.l index 2f1f7b37202..af7a9411ccf 100644 --- a/gas/testsuite/gas/i386/avx512vl-2.l +++ b/gas/testsuite/gas/i386/avx512vl-2.l @@ -25,3 +25,4 @@ GAS LISTING .* [ ]*14[ ]+C4E8 [ ]*15[ ]+\?\?\?\? 62F27D48 vpconflictd %zmm0, %zmm5 [ ]*15[ ]+C4E8 +#pass diff --git a/gas/testsuite/gas/i386/avx512vl-2.s b/gas/testsuite/gas/i386/avx512vl-2.s index 6a24a1f1a0c..a98bd155928 100644 --- a/gas/testsuite/gas/i386/avx512vl-2.s +++ b/gas/testsuite/gas/i386/avx512vl-2.s @@ -13,3 +13,4 @@ _start: vpconflictd %xmm0, %xmm5 vpconflictd %ymm0, %ymm5 vpconflictd %zmm0, %zmm5 + .p2align 4 diff --git a/gas/testsuite/gas/i386/noavx-1.l b/gas/testsuite/gas/i386/noavx-1.l index f4e2840a4fc..d19fe81b37d 100644 --- a/gas/testsuite/gas/i386/noavx-1.l +++ b/gas/testsuite/gas/i386/noavx-1.l @@ -11,3 +11,4 @@ GAS LISTING .* [ ]*6[ ]+\?\?\?\? C5F877 vzeroupper [ ]*7[ ]+\.arch \.noavx [ ]*8[ ]+vzeroupper +#pass diff --git a/gas/testsuite/gas/i386/noavx-1.s b/gas/testsuite/gas/i386/noavx-1.s index 759b429a241..bb7813fe356 100644 --- a/gas/testsuite/gas/i386/noavx-1.s +++ b/gas/testsuite/gas/i386/noavx-1.s @@ -6,3 +6,4 @@ vzeroupper .arch .noavx vzeroupper + .p2align 4 diff --git a/gas/testsuite/gas/i386/nommx-1.l b/gas/testsuite/gas/i386/nommx-1.l index 2b7a6ca9b57..41f98799e1c 100644 --- a/gas/testsuite/gas/i386/nommx-1.l +++ b/gas/testsuite/gas/i386/nommx-1.l @@ -19,3 +19,4 @@ GAS LISTING .* [ ]*12[ ]+\?\?\?\? 0F0FC1BB pswapd %mm1,%mm0 [ ]*13[ ]+\.arch \.nommx [ ]*14[ ]+emms +#pass diff --git a/gas/testsuite/gas/i386/nommx-1.s b/gas/testsuite/gas/i386/nommx-1.s index f87eddac6ef..1040b53ae8f 100644 --- a/gas/testsuite/gas/i386/nommx-1.s +++ b/gas/testsuite/gas/i386/nommx-1.s @@ -12,3 +12,4 @@ pswapd %mm1,%mm0 .arch .nommx emms + .p2align 4 diff --git a/gas/testsuite/gas/i386/nosse-1.l b/gas/testsuite/gas/i386/nosse-1.l index 486241b7a8e..2551174e0f8 100644 --- a/gas/testsuite/gas/i386/nosse-1.l +++ b/gas/testsuite/gas/i386/nosse-1.l @@ -11,3 +11,4 @@ GAS LISTING .* [ ]*6[ ]+\?\?\?\? 0FAEE8 lfence [ ]*7[ ]+\.arch \.nosse [ ]*8[ ]+lfence +#pass diff --git a/gas/testsuite/gas/i386/nosse-1.s b/gas/testsuite/gas/i386/nosse-1.s index 27f2528f45d..9ea228e5268 100644 --- a/gas/testsuite/gas/i386/nosse-1.s +++ b/gas/testsuite/gas/i386/nosse-1.s @@ -6,3 +6,4 @@ lfence .arch .nosse lfence + .p2align 4 diff --git a/gas/testsuite/gas/i386/x86-64-avx512vl-2.l b/gas/testsuite/gas/i386/x86-64-avx512vl-2.l index 10833f615f8..8a07f6d2cec 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vl-2.l +++ b/gas/testsuite/gas/i386/x86-64-avx512vl-2.l @@ -25,3 +25,4 @@ GAS LISTING .* [ ]*14[ ]+C4C8 [ ]*15[ ]+\?\?\?\? 62627D48 vpconflictd %zmm0, %zmm25 [ ]*15[ ]+C4C8 +#pass diff --git a/gas/testsuite/gas/i386/x86-64-avx512vl-2.s b/gas/testsuite/gas/i386/x86-64-avx512vl-2.s index 2b64c702bf3..f7997bd9637 100644 --- a/gas/testsuite/gas/i386/x86-64-avx512vl-2.s +++ b/gas/testsuite/gas/i386/x86-64-avx512vl-2.s @@ -13,3 +13,4 @@ _start: vpconflictd %xmm0, %xmm25 vpconflictd %ymm0, %ymm25 vpconflictd %zmm0, %zmm25 + .p2align 4