gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-1.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-options "-march=rv32gcv -mabi=ilp32f -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_long___builtin_lrintf: |
| 9 | ** ... |
| 10 | ** vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+ |
| 11 | ** ... |
| 12 | */ |
| 13 | TEST_UNARY_CALL_CVT (float, long, __builtin_lrintf) |