This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][AArch64] Update patterns to support FP zero
- From: James Greenhalgh <james dot greenhalgh at arm dot com>
- To: Wilco Dijkstra <wdijkstr at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 13 Oct 2015 08:56:42 +0100
- Subject: Re: [PATCH][AArch64] Update patterns to support FP zero
- Authentication-results: sourceware.org; auth=none
- References: <003d01d101cb$83d26e50$8b774af0$ at com>
On Thu, Oct 08, 2015 at 02:16:16PM +0100, Wilco Dijkstra wrote:
> This patch improves support for instructions that allow FP zero immediate. All FP compares generated
> by various patterns should use aarch64_fp_compare_operand. LDP/STP uses aarch64_reg_or_fp_zero.
> Passes regression on AArch64.
>
> OK for commit?
OK.
Thanks,
James
>
> ChangeLog:
> 2015-10-08 Wilco Dijkstra <wdijkstr@arm.com>
>
> * gcc/config/aarch64/aarch64.md (cbranch<mode>4):
> Use aarch64_fp_compare_operand.
> (store_pairsf): Use aarch64_reg_or_fp_zero.
> (store_pairdf): Likewise.
> (cstore<mode>4): Use aarch64_fp_compare_operand.
> (cmov<mode>6): Likewise.
> * gcc/config/aarch64/aarch64-ldpstp.md: Use aarch64_reg_or_fp_zero.
>