Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-iround-0.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv -mabi=lp64d -O3 -ftree-vectorize -fno-vect-cost-model -ffast-math -fno-schedule-insns -fno-schedule-insns2" } */
3 /* { dg-final { check-function-bodies "**" "" } } */
4
5 #include "test-math.h"
6
7 /*
8 ** test_float_int___builtin_iroundf:
9 ** frrm\s+[atx][0-9]+
10 ** ...
11 ** fsrmi\s+4
12 ** ...
13 ** vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
14 ** ...
15 ** fsrm\s+[atx][0-9]+
16 ** ret
17 */
18 TEST_UNARY_CALL_CVT (float, int, __builtin_iroundf)