diff options
author | Richard Sandiford <richard.sandiford@linaro.org> | 2018-01-03 07:18:58 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2018-01-03 07:18:58 +0000 |
commit | 95fe7b4862dd3250e4d6b3e2c592b440b79613df (patch) | |
tree | db778275dcf12ad7f9ab92a142ef391730b0c51d /gcc/jit/docs/examples/tut03-sum-of-squares.c | |
parent | cff7107a97be6b32efc4c100ed85957c7e0b331e (diff) | |
download | gcc-95fe7b4862dd3250e4d6b3e2c592b440b79613df.zip gcc-95fe7b4862dd3250e4d6b3e2c592b440b79613df.tar.gz gcc-95fe7b4862dd3250e4d6b3e2c592b440b79613df.tar.bz2 |
poly_int: load_register_parameters
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.
2018-01-03 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.
Co-Authored-By: Alan Hayward <alan.hayward@arm.com>
Co-Authored-By: David Sherwood <david.sherwood@arm.com>
From-SVN: r256161
Diffstat (limited to 'gcc/jit/docs/examples/tut03-sum-of-squares.c')
0 files changed, 0 insertions, 0 deletions