blob: 17a3f70dcdd3d63ee6074790025eae77193cd4b0 [file] [log] [blame]
#ifndef SOFTRVV_VMSLT_H
#define SOFTRVV_VMSLT_H
#include <stddef.h>
namespace softrvv {
template <typename T>
void vmslt_vx(T *dest, T *src2, const T *src1, int32_t avl) {
for (int32_t idx = 0; idx < avl; idx++) {
set_bit_in_dest_mask<T>(idx, dest, src2[idx] < *src1);
}
}
template <typename T>
void vmslt_vv(T *dest, T *src2, T *src1, int32_t avl) {
for (int32_t idx = 0; idx < avl; idx++) {
set_bit_in_dest_mask<T>(idx, dest, src2[idx] < src1[idx]);
}
}
} // namespace softrvv
#endif // SOFTRVV_VMSLT_H