gcc/testsuite/gcc.target/riscv/rvv/autovec/unop/math-llrint-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 <stdint-gcc.h> |
| 6 | #include "test-math.h" |
| 7 | |
| 8 | /* |
| 9 | ** test_double_int64_t___builtin_llrint: |
| 10 | ** ... |
| 11 | ** vfcvt\.x\.f\.v\s+v[0-9]+,\s*v[0-9]+ |
| 12 | ** ... |
| 13 | */ |
| 14 | TEST_UNARY_CALL_CVT (double, int64_t, __builtin_llrint) |