[PATCH] testsuite: i386: Fix gcc.target/i386/avx512f-pr96891-3.c on Solaris [PR102834]
Hongtao Liu
crazylht@gmail.com
Tue Oct 26 01:32:25 GMT 2021
On Mon, Oct 25, 2021 at 10:01 PM Rainer Orth
<ro@cebitec.uni-bielefeld.de> wrote:
>
> gcc.target/i386/avx512f-pr96891-3.c currently FAILs on 32-bit Solaris/x86:
>
> FAIL: gcc.target/i386/avx512f-pr96891-3.c scan-assembler-times (?n)vpcmp[bwdq][ \\\\t]*\\\\\$7 4
>
> There are only 3 instances of the expected pattern because Solaris/x86
> defaults to -mno-stv. Fixed by compiling with -mstv and
> -mno-stackrealign. Tested on i386-pc-solaris2.11 and
> x86_64-pc-linux-gnu.
>
> Ok for master?
Ok.
>
> Rainer
>
> --
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University
>
>
> 2021-10-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
>
> gcc/testsuite:
> PR testsuite/102834
> * gcc.target/i386/avx512f-pr96891-3.c: Add -mstv -mno-stackrealign
> to dg-options.
>
--
BR,
Hongtao
More information about the Gcc-patches
mailing list