Debian Codegraph @

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

raw
1 /* { dg-do compile } */
2 /* { dg-options "-march=rv64gcv_zvfh_zfh -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__Float16_long___builtin_lrintf16:
9 ** ...
10 ** vfwcvt\.f\.f\.v\s+v[0-9]+,\s*v[0-9]+
11 ** ...
12 ** vfwcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
13 ** ...
14 */
15 TEST_UNARY_CALL_CVT (_Float16, long, __builtin_lrintf16)