]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/spu/spu.c
poly_int: TRULY_NOOP_TRUNCATION
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Dec 2017 12:52:12 +0000 (12:52 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Dec 2017 12:52:12 +0000 (12:52 +0000)
commite524465ae90949eca3039f85f175c79411048240
treef9f4281fcb3cf1bbf777100bf54c33ef1de17cc6
parent1aa31a46551f0ec19584f863020acc93d158fd87
poly_int: TRULY_NOOP_TRUNCATION

This patch makes TRULY_NOOP_TRUNCATION take the mode sizes as
poly_uint64s instead of unsigned ints.  The function bodies
don't need to change.

2017-12-20  Richard Sandiford  <richard.sandiford@linaro.org>
            Alan Hayward  <alan.hayward@arm.com>
    David Sherwood  <david.sherwood@arm.com>

gcc/
* target.def (truly_noop_truncation): Take poly_uint64s instead of
unsigned ints.  Change default to hook_bool_puint64_puint64_true.
* doc/tm.texi: Regenerate.
* hooks.h (hook_bool_uint_uint_true): Delete.
(hook_bool_puint64_puint64_true): Declare.
* hooks.c (hook_bool_uint_uint_true): Delete.
(hook_bool_puint64_puint64_true): New function.
* config/mips/mips.c (mips_truly_noop_truncation): Take poly_uint64s
instead of unsigned ints.
* config/spu/spu.c (spu_truly_noop_truncation): Likewise.
* config/tilegx/tilegx.c (tilegx_truly_noop_truncation): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@255866 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/spu/spu.c
gcc/config/tilegx/tilegx.c
gcc/doc/tm.texi
gcc/hooks.c
gcc/hooks.h
gcc/target.def