1 /* { dg-do run } */ 2 /* { dg-options "-mavx2 -mno-prefer-avx128 -O2 -ftree-vectorize -save-temps" } */ 3 /* { dg-require-effective-target avx2 } */ 4 5 6 #define TYPE short 7 #define UN_OP(a) ((a) >> (5)) 8 9 #include "avx2-vpop-check.h" 10 11 /* { dg-final { scan-assembler-times "vpsraw\[ \\t\]+\[^\n\]*%ymm\[0-9\]" 1 } } */ 12