| ppc/s390: [wasmfx] Implement tag parameters and returns Original Commit Message: Pass the tag arguments and returns via a stack buffer. The buffer is immediately unpacked by the receiving stack and never used again, so we don't need to visit the tagged slots within that buffer. The pointer to the buffer is passed as an extra argument to the stack switching builtins, and forwarded to the target stack. On the receiving end: - The suspend builtin returns the pointer received from the resume builtin, - The resume handler uses a new pseudo-instruction to materialize the buffer in a fixed register, similar to how we materialize the exception or the continuation object. Arguments and return values in the initial func ref are not supported yet. Bug: 388533754 Change-Id: I7fa9f4a1aa38b4ebc3c82c78662c2d717ef94d5c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7207915 Reviewed-by: Joran Siu <joransiu@ca.ibm.com> Commit-Queue: Joran Siu <joransiu@ca.ibm.com> Cr-Commit-Position: refs/heads/main@{#104011} | 7 个月前 |