]> git.ipfire.org Git - thirdparty/gcc.git/commit
[AArch64] Factor out ptrue predicate creation
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 2019 14:49:28 +0000 (14:49 +0000)
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 18 Jun 2019 14:49:28 +0000 (14:49 +0000)
commitf8e1b9c1d596711f305b47c12399a51858a2e09a
treef95a633b9adabcc19b24295271a88a743a6142d0
parent05049c9b1c58211b0ef68253b5c38e473313d194
[AArch64] Factor out ptrue predicate creation

This is the first step to canonicalising predicate constants so that
they can be reused between modes.

2019-06-18  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
* config/aarch64/aarch64-protos.h (aarch64_ptrue_reg): Declare.
* config/aarch64/aarch64.c (aarch64_ptrue_reg): New functions.
(aarch64_expand_sve_widened_duplicate, aarch64_expand_sve_mem_move)
(aarch64_maybe_expand_sve_subreg_move, aarch64_evpc_rev_local)
(aarch64_expand_sve_vec_cmp_int): Use it.
(aarch64_expand_sve_vec_cmp_float): Likewise.
* config/aarch64/aarch64-sve.md: Likewise throughout.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272424 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/aarch64/aarch64-protos.h
gcc/config/aarch64/aarch64-sve.md
gcc/config/aarch64/aarch64.c