Most stub calls return Values by writing them to memory, from which they are immediately read. This is very slow. On x64, since the register size is sizeof(Value), we can just store the return value directly in a register. Stores are intensive, so the savings should be worthwhile. This is highly non-trivial to do well, as it requires changing the register allocator to understand that VALUE is a valid RematType. The assumption that TYPE and DATA are the only available RematTypes is all over the codebase.
JM was removed.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.