The following disables epilogue vectorization for the
gcc.target/i386/shift-gf2p8affine-?.c tests so they pass with both
--param ix86-vect-compare-costs=1 and =0.
* gcc.target/i386/shift-gf2p8affine-1.c: Disable epilogue
vectorization.
* gcc.target/i386/shift-gf2p8affine-3.c: Likewise.
* gcc.target/i386/shift-gf2p8affine-7.c: Likewise.
/* { dg-do compile } */
-/* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3 -march=x86-64 -mtune=generic" } */
-/* { dg-final { scan-assembler-times "vgf2p8affineqb" 14 } } */
+/* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3 -march=x86-64 --param vect-epilogues-nomask=0 -mtune=generic" } */
+/* { dg-final { scan-assembler-times "vgf2p8affineqb" 7 } } */
#ifndef N
#define N 5
/* { dg-do compile } */
-/* { dg-options "-mgfni -mavx512bw -mavx512f -O3 -march=x86-64 -mtune=generic" } */
-/* { dg-final { scan-assembler-times "vgf2p8affineqb" 12 } } */
+/* { dg-options "-mgfni -mavx512bw -mavx512f -O3 -march=x86-64 -mtune=generic --param vect-epilogues-nomask=0" } */
+/* { dg-final { scan-assembler-times "vgf2p8affineqb" 6 } } */
/* Based on a test case from Andrew Pinski */
/* { dg-do compile } */
-/* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3 -Wno-shift-count-negative -mtune=generic -march=x86-64" } */
-/* { dg-final { scan-assembler-times "vgf2p8affineqb" 53 } } */
+/* { dg-options "-mgfni -mavx512vl -mavx512bw -mavx512f -O3 -Wno-shift-count-negative -mtune=generic -march=x86-64 --param vect-epilogues-nomask=0" } */
+/* { dg-final { scan-assembler-times "vgf2p8affineqb" 27 } } */
#include "shift-gf2p8affine-2.c"