blob: 9fc780218f274f98f77946ab936e46a50ca099f9 [file] [log] [blame]
/* PR target/101611 */
/* { dg-do compile } */
/* { dg-options "-O2 -mavx2 -mno-avx512f" } */
/* { dg-final { scan-assembler-times {\mvpsrlvq\M} 4 } } */
/* { dg-final { scan-assembler-times {\mvpxor\M} 2 } } */
/* { dg-final { scan-assembler-times {\mvpsubq\M} 2 } } */
typedef long long V __attribute__((vector_size(32)));
typedef long long W __attribute__((vector_size(16)));
V foo (V a, V b) { return a >> b; }
W bar (W a, W b) { return a >> b; }