#ifndef SOFTRVV_VWSUB_H
#define SOFTRVV_VWSUB_H

#include <stddef.h>

namespace softrvv {

template <typename T1, typename T2>
void vwsub_vx(T1 *dest, T2 *src1, const T2 *src2, int32_t avl) {
  static_assert(sizeof(T1) == 2 * sizeof(T2));
  for (int32_t idx = 0; idx < avl; idx++) {
    dest[idx] = src1[idx] - *src2;
  }
}

template <typename T1, typename T2>
void vwsub_vv(T1 *dest, T2 *src1, T2 *src2, int32_t avl) {
  static_assert(sizeof(T1) == 2 * sizeof(T2));
  for (int32_t idx = 0; idx < avl; idx++) {
    dest[idx] = src1[idx] - src2[idx];
  }
}

}  // namespace softrvv

#endif  // SOFTRVV_VSUB_H
