#ifndef SOFTRVV_VFADD_H
#define SOFTRVV_VFADD_H

#include <stddef.h>

namespace softrvv {

void vfadd_vf(float *dest, float *src1, const float *src2, int32_t avl) {
  for (int32_t idx = 0; idx < avl; idx++) {
    dest[idx] = src1[idx] + *src2;
  }
}

void vfadd_vv(float *dest, float *src1, float *src2, int32_t avl) {
  for (int32_t idx = 0; idx < avl; idx++) {
    dest[idx] = src1[idx] + src2[idx];
  }
}

}  // namespace softrvv

#endif  // SOFTRVV_VFADD_H
