[riscv] Fix shift error when the shift amount is less than or equal to -32
In wasm-spec, the shift amount will modulo 32 or 64. Change-Id: I98d003dfd8b73d0d3eb1a022942d7b138d29fdc5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3912629Reviewed-by: ji qiu <qiuji@iscas.ac.cn> Commit-Queue: ji qiu <qiuji@iscas.ac.cn> Auto-Submit: Yahan Lu <yahan@iscas.ac.cn> Cr-Commit-Position: refs/heads/main@{#83414}
Showing
Please
register
or
sign in
to comment