summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/riscv/rvv/autovec/binop/vdiv-rv32gcv.c
blob: 9759401b9efd69ec84b296ba10a4a5d2b412d087 (plain)
1
2
3
4
5
6
7
8
9
/* { dg-do compile } */
/* { dg-additional-options "-std=c99 -fno-vect-cost-model -march=rv32gcv -mabi=ilp32d --param=riscv-autovec-preference=fixed-vlmax" } */

#include "vdiv-template.h"

/* TODO: Implement vector type promotion.  We should have 6 vdiv.vv here.  */

/* { dg-final { scan-assembler-times {\tvdiv\.vv} 4 } } */
/* { dg-final { scan-assembler-times {\tvdivu\.vv} 6 } } */