From a716e60cf91254811f798d358a5b1842b4a65113 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 18 Mar 2019 09:19:45 +0800 Subject: [PATCH] x86: Pass -O0 to assembler for some tests * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler. * testsuite/gas/i386/avx512bw-intel.d: Likewise. * testsuite/gas/i386/avx512bw.d: Likewise. * testsuite/gas/i386/avx512f-intel.d: Likewise. * testsuite/gas/i386/avx512f.d: Likewise. * testsuite/gas/i386/disp32.d: Likewise. * testsuite/gas/i386/intel-regs.d: Likewise. * testsuite/gas/i386/pseudos.d: Likewise. * testsuite/gas/i386/x86-64-disp32.d: Likewise. * testsuite/gas/i386/x86-64-pseudos.d: Likewise. --- gas/ChangeLog | 13 +++++++++++++ gas/testsuite/gas/i386/att-regs.d | 1 + gas/testsuite/gas/i386/avx512bw-intel.d | 2 +- gas/testsuite/gas/i386/avx512bw.d | 2 +- gas/testsuite/gas/i386/avx512f-intel.d | 2 +- gas/testsuite/gas/i386/avx512f.d | 2 +- gas/testsuite/gas/i386/disp32.d | 2 +- gas/testsuite/gas/i386/intel-regs.d | 1 + gas/testsuite/gas/i386/pseudos.d | 1 + gas/testsuite/gas/i386/x86-64-disp32.d | 2 +- gas/testsuite/gas/i386/x86-64-pseudos.d | 1 + 11 files changed, 23 insertions(+), 6 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 7c098621c4a..0f0c5e5655d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,16 @@ +2019-03-18 H.J. Lu + + * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler. + * testsuite/gas/i386/avx512bw-intel.d: Likewise. + * testsuite/gas/i386/avx512bw.d: Likewise. + * testsuite/gas/i386/avx512f-intel.d: Likewise. + * testsuite/gas/i386/avx512f.d: Likewise. + * testsuite/gas/i386/disp32.d: Likewise. + * testsuite/gas/i386/intel-regs.d: Likewise. + * testsuite/gas/i386/pseudos.d: Likewise. + * testsuite/gas/i386/x86-64-disp32.d: Likewise. + * testsuite/gas/i386/x86-64-pseudos.d: Likewise. + 2019-03-18 H.J. Lu PR gas/24348 diff --git a/gas/testsuite/gas/i386/att-regs.d b/gas/testsuite/gas/i386/att-regs.d index 8b6c14fb0cc..81bec44ea01 100644 --- a/gas/testsuite/gas/i386/att-regs.d +++ b/gas/testsuite/gas/i386/att-regs.d @@ -1,3 +1,4 @@ +#as: -O0 #objdump: -drw #name: i386 AT&T register names diff --git a/gas/testsuite/gas/i386/avx512bw-intel.d b/gas/testsuite/gas/i386/avx512bw-intel.d index 635458d4d27..9ef82d31c16 100644 --- a/gas/testsuite/gas/i386/avx512bw-intel.d +++ b/gas/testsuite/gas/i386/avx512bw-intel.d @@ -1,4 +1,4 @@ -#as: +#as: -O0 #objdump: -dw -Mintel #name: i386 AVX512BW insns (Intel disassembly) #source: avx512bw.s diff --git a/gas/testsuite/gas/i386/avx512bw.d b/gas/testsuite/gas/i386/avx512bw.d index 51967bcca7a..2b4c04a86d6 100644 --- a/gas/testsuite/gas/i386/avx512bw.d +++ b/gas/testsuite/gas/i386/avx512bw.d @@ -1,4 +1,4 @@ -#as: +#as: -O0 #objdump: -dw #name: i386 AVX512BW insns #source: avx512bw.s diff --git a/gas/testsuite/gas/i386/avx512f-intel.d b/gas/testsuite/gas/i386/avx512f-intel.d index 27cea5eadc4..de7a0c293a9 100644 --- a/gas/testsuite/gas/i386/avx512f-intel.d +++ b/gas/testsuite/gas/i386/avx512f-intel.d @@ -1,4 +1,4 @@ -#as: +#as: -O0 #objdump: -dwMintel #name: i386 AVX512F insns (Intel disassembly) #source: avx512f.s diff --git a/gas/testsuite/gas/i386/avx512f.d b/gas/testsuite/gas/i386/avx512f.d index 01f4e83ce67..1f520934d35 100644 --- a/gas/testsuite/gas/i386/avx512f.d +++ b/gas/testsuite/gas/i386/avx512f.d @@ -1,4 +1,4 @@ -#as: +#as: -O0 #objdump: -dw #name: i386 AVX512F insns diff --git a/gas/testsuite/gas/i386/disp32.d b/gas/testsuite/gas/i386/disp32.d index 24ada8151af..9059f56c56a 100644 --- a/gas/testsuite/gas/i386/disp32.d +++ b/gas/testsuite/gas/i386/disp32.d @@ -1,4 +1,4 @@ -#as: +#as: -O0 #objdump: -drw #name: i386 32bit displacement diff --git a/gas/testsuite/gas/i386/intel-regs.d b/gas/testsuite/gas/i386/intel-regs.d index 93a7feef24a..65bcb6ca7d2 100644 --- a/gas/testsuite/gas/i386/intel-regs.d +++ b/gas/testsuite/gas/i386/intel-regs.d @@ -1,3 +1,4 @@ +#as: -O0 #objdump: -drw #name: i386 Intel register names diff --git a/gas/testsuite/gas/i386/pseudos.d b/gas/testsuite/gas/i386/pseudos.d index 18804b294c4..00c10a520b1 100644 --- a/gas/testsuite/gas/i386/pseudos.d +++ b/gas/testsuite/gas/i386/pseudos.d @@ -1,3 +1,4 @@ +#as: -O0 #objdump: -drw #name: pseudo prefixes diff --git a/gas/testsuite/gas/i386/x86-64-disp32.d b/gas/testsuite/gas/i386/x86-64-disp32.d index da5dcb0db74..d6397bfeb70 100644 --- a/gas/testsuite/gas/i386/x86-64-disp32.d +++ b/gas/testsuite/gas/i386/x86-64-disp32.d @@ -1,4 +1,4 @@ -#as: +#as: -O0 #objdump: -drw #name: x86-64 32bit displacement diff --git a/gas/testsuite/gas/i386/x86-64-pseudos.d b/gas/testsuite/gas/i386/x86-64-pseudos.d index 55c42a06d11..e0074af843b 100644 --- a/gas/testsuite/gas/i386/x86-64-pseudos.d +++ b/gas/testsuite/gas/i386/x86-64-pseudos.d @@ -1,3 +1,4 @@ +#as: -O0 #objdump: -drw #name: x86-64 pseudo prefixes -- 2.30.2