regression error(revert bug)

This commit is contained in:
gtsoul-tech 2024-11-07 09:30:27 +02:00
parent 5145b6d2ab
commit a0f8234efb

View File

@ -244,16 +244,8 @@ const u8 *shuftiDoubleExecReal(m128 mask1_lo, m128 mask1_hi, m128 mask2_lo, m128
// finish off tail // finish off tail
if (d != buf_end) { if (d != buf_end) {
SuperVector<S> chars = SuperVector<S>::Zeroes(); SuperVector<S> chars = SuperVector<S>::loadu(d);
const u8 *end_buf; rv = fwdBlockDouble(wide_mask1_lo, wide_mask1_hi, wide_mask2_lo, wide_mask2_hi, chars, d);
if (buf_end - buf < S) {
memcpy(&chars.u, buf, buf_end - buf);
end_buf = buf;
} else {
chars = SuperVector<S>::loadu(buf_end - S);
end_buf = buf_end - S;
}
rv = fwdBlockDouble(wide_mask1_lo, wide_mask1_hi, wide_mask2_lo, wide_mask2_hi, chars, end_buf);
DEBUG_PRINTF("rv %p \n", rv); DEBUG_PRINTF("rv %p \n", rv);
if (rv && rv < buf_end) return rv; if (rv && rv < buf_end) return rv;
} }