gcc/testsuite/gcc.target/riscv/rvv/autovec/conversions/vfncvt-ftoi-rv32gcv.c
raw| 1 | /* { dg-do compile } */ |
| 2 | /* { dg-additional-options "-std=c99 -fno-vect-cost-model -march=rv32gcv_zvfh -mabi=ilp32d -fno-trapping-math -mrvv-vector-bits=scalable" } */ |
| 3 | |
| 4 | #include "vfncvt-ftoi-template.h" |
| 5 | |
| 6 | /* The vectorizer only performs int -> float conversions with |
| 7 | intermediate types with -fno-trapping-math. */ |
| 8 | /* { dg-final { scan-assembler-times {\tvfncvt\.rtz\.x\.f\.w} 9 } } */ |
| 9 | /* { dg-final { scan-assembler-times {\tvfncvt\.rtz\.xu\.f\.w} 3 } } */ |