This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [098/nnn] poly_int: load_register_parameters
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at linaro dot org
- Date: Tue, 28 Nov 2017 00:42:36 -0700
- Subject: Re: [098/nnn] poly_int: load_register_parameters
- Authentication-results: sourceware.org; auth=none
- References: <871sltvm7r.fsf@linaro.org> <871sltepai.fsf@linaro.org>
On 10/23/2017 11:40 AM, Richard Sandiford wrote:
> This patch makes load_register_parameters cope with polynomial sizes.
> The requirement here is that any register parameters with non-constant
> sizes must either have a specific mode (e.g. a variable-length vector
> mode) or must be represented with a PARALLEL. This is in practice
> already a requirement for parameters passed in vector registers,
> since the default behaviour of splitting parameters into words doesn't
> make sense for them.
>
>
> 2017-10-23 Richard Sandiford <richard.sandiford@linaro.org>
> Alan Hayward <alan.hayward@arm.com>
> David Sherwood <david.sherwood@arm.com>
>
> gcc/
> * calls.c (load_register_parameters): Cope with polynomial
> mode sizes. Require a constant size for BLKmode parameters
> that aren't described by a PARALLEL. If BLOCK_REG_PADDING
> forces a parameter to be padded at the lsb end in order to
> fill a complete number of words, require the parameter size
> to be ordered wrt UNITS_PER_WORD.
OK.
jeff