Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/sat/vec_sat_u_trunc-2-u8.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv -mabi=lp64d -ftree-vectorize -fdump-tree-optimized" } */
3
4 #include "vec_sat_arith.h"
5
6 DEF_VEC_SAT_U_TRUNC_FMT_1 (uint16_t, uint64_t)
7
8 /* { dg-final { scan-tree-dump-times ".SAT_TRUNC " 1 "optimized" } } */
9 /* { dg-final { scan-assembler-times {vnclipu\.wi} 2 } } */