gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-lrint-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_double_long___builtin_lrint: |
| 9 | ** ... |
| 10 | ** vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+ |
| 11 | ** ... |
| 12 | */ |
| 13 | TEST_UNARY_CALL_CVT (double, long, __builtin_lrint) |