Debian Codegraph @

gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llroundf16-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 <stdint-gcc.h>
6 #include "test-math.h"
7
8 /*
9 ** test__Float16_int64_t___builtin_llroundf16:
10 ** frrm\s+[atx][0-9]+
11 ** ...
12 ** fsrmi\s+4
13 ** ...
14 ** vfwcvt\.f\.f\.v\s+v[0-9]+,\s*v[0-9]+
15 ** ...
16 ** vfwcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+
17 ** ...
18 ** fsrm\s+[atx][0-9]+
19 ** ret
20 */
21 TEST_UNARY_CALL_CVT (_Float16, int64_t, __builtin_llroundf16)