Debian Codegraph @

gcc/testsuite/gcc.target/loongarch/rotl-with-xvrotr-w.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mlasx -fno-vect-cost-model" } */
3 /* { dg-final { scan-assembler-times "xvrotr\\.w" 2 } } */
4 /* { dg-final { scan-assembler-times "xvneg\\.w" 1 } } */
5
6 #define VLEN 32
7 #include "rotl-with-vrotr-w.c"