On 8/10/22 06:02, Alex Bennée wrote:
Richard Henderson <[email protected]> writes:
Combine 5 output pointer argument from get_phys_addr
into a single struct. Adjust all callers.
This looks to be an improvement - I guess the real benefit is the
compiler isn't jamming so many closely aligned pointers on the stack
frame for all the return values?
Correct. The number of parameters is also down to 6, which fits all in register arguments
for most hosts, including x86_64. And in turn, we need to copy fewer arguments down to
the subroutines.
r~