remove low4bits from the arguments, fix cases that mostly affect loading large (64) vectors and falling out of bounds

This commit is contained in:
Konstantinos Margaritis
2021-07-23 11:45:58 +03:00
parent dca605d187
commit 0ec5dc37ca
2 changed files with 39 additions and 44 deletions

View File

@@ -236,7 +236,7 @@ const u8 *rtruffleExecReal(m128 shuf_mask_lo_highclear, m128 shuf_mask_lo_highse
if (d != buf) {
rv = truffleRevMini(wide_shuf_mask_lo_highclear, wide_shuf_mask_lo_highset, buf, d);
DEBUG_PRINTF("rv %p \n", rv);
if (rv) return rv;
if (rv >= buf && rv < buf_end) return rv;
}
return buf - 1;