mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
enhance: Fix ArithHelperI64 for SVE in bitset (#43952)
missing ArithHelperI64<ArithOpType::Div, CmpOp> Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
This commit is contained in:
parent
e179a5635f
commit
cfdb17a088
@ -1314,6 +1314,19 @@ struct ArithHelperI64<ArithOpType::Mul, CmpOp> {
|
||||
}
|
||||
};
|
||||
|
||||
template <CompareOpType CmpOp>
|
||||
struct ArithHelperI64<ArithOpType::Div, CmpOp> {
|
||||
static inline svbool_t
|
||||
op(const svbool_t pred,
|
||||
const svint64_t left,
|
||||
const svint64_t right,
|
||||
const svint64_t value) {
|
||||
// left / right == value
|
||||
return CmpHelper<CmpOp>::compare(
|
||||
pred, svdiv_s64_z(pred, left, right), value);
|
||||
}
|
||||
};
|
||||
|
||||
//
|
||||
template <ArithOpType AOp, CompareOpType CmpOp>
|
||||
struct ArithHelperF32 {};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user