This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r272424 - in /trunk/gcc: ChangeLog config/aarch...
- From: rsandifo at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 18 Jun 2019 14:49:31 -0000
- Subject: r272424 - in /trunk/gcc: ChangeLog config/aarch...
Author: rsandifo
Date: Tue Jun 18 14:49:28 2019
New Revision: 272424
URL: https://gcc.gnu.org/viewcvs?rev=272424&root=gcc&view=rev
Log:
[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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/aarch64/aarch64-protos.h
trunk/gcc/config/aarch64/aarch64-sve.md
trunk/gcc/config/aarch64/aarch64.c