Uh oh!
There was an error while loading. Please reload this page.
WASM, WASM_X64: Support shift operations - #1482
Conversation
ubaidsk
commented
Jan 31, 2023
This is ready. Please possibly review and share feedback. |
ubaidsk
commented
Jan 31, 2023
This PR might fail after merging of #1481. As the test |
certik
commented
Jan 31, 2023
All tests passed and I now rebased on top of the latest master. |
BitRShift is currently signed/arithmetic right shift. This is similar to LLVM Backend.
ubaidsk
commented
Feb 1, 2023
The tests should hopefully pass now. The new commits X86Assembler: Implement SHL and SAR Instructions and |
ubaidsk
commented
Feb 1, 2023
I am adding this to auto-merge as it seems approved. I will support changes/updates suggested (if any) for recently added commits in a new PR. |
certik
commented
Feb 1, 2023
Yes, this is good, thanks! |
This PR adds support of
left shiftandright shiftoperations in thewasmandwasm_x64backends. Forright shift, I currently usedsigned/arithmeticright shift operation (this seems similar to thellvmbackend). Other possibility is usingunsigned/logicalright shift operation.