diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2019-06-18 14:49:28 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2019-06-18 14:49:28 +0000 |
commit | 16de3637c4df37e0203b3ad52b238887e6ca38fc (patch) | |
tree | f95a633b9adabcc19b24295271a88a743a6142d0 /gcc/tree.c | |
parent | 32cf949cec180799d3fb14d405772ea35b5aafd3 (diff) | |
download | gcc-16de3637c4df37e0203b3ad52b238887e6ca38fc.zip gcc-16de3637c4df37e0203b3ad52b238887e6ca38fc.tar.gz gcc-16de3637c4df37e0203b3ad52b238887e6ca38fc.tar.bz2 |
[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.
From-SVN: r272424
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions