[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 08/62] target/arm: Create GetPhysAddrResult

From: Richard Henderson
Subject: Re: [PATCH 08/62] target/arm: Create GetPhysAddrResult
Date: Fri, 19 Aug 2022 10:31:35 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 8/10/22 06:02, Alex Bennée wrote:

Richard Henderson <richard.henderson@linaro.org> 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]