r274480 - in /trunk/gcc: ChangeLog config/aarch...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Wed Aug 14 11:04:00 GMT 2019


Author: rsandifo
Date: Wed Aug 14 11:04:11 2019
New Revision: 274480

URL: https://gcc.gnu.org/viewcvs?rev=274480&root=gcc&view=rev
Log:
[AArch64] Use SVE BIC for conditional arithmetic

This patch uses BIC to pattern-match conditional AND with an inverted
third input.  It also adds extra tests for AND, ORR and EOR.

2019-08-14  Richard Sandiford  <richard.sandiford@arm.com>
	    Kugan Vivekanandarajah  <kugan.vivekanandarajah@linaro.org>

gcc/
	* config/aarch64/aarch64-sve.md (*cond_bic<mode>_2)
	(*cond_bic<mode>_any): New patterns.

gcc/testsuite/
	* gcc.target/aarch64/sve/cond_logical_1.c: New test.
	* gcc.target/aarch64/sve/cond_logical_1_run.c: Likewise.
	* gcc.target/aarch64/sve/cond_logical_2.c: Likewise.
	* gcc.target/aarch64/sve/cond_logical_2_run.c: Likewise.
	* gcc.target/aarch64/sve/cond_logical_3.c: Likewise.
	* gcc.target/aarch64/sve/cond_logical_3_run.c: Likewise.
	* gcc.target/aarch64/sve/cond_logical_4.c: Likewise.
	* gcc.target/aarch64/sve/cond_logical_4_run.c: Likewise.
	* gcc.target/aarch64/sve/cond_logical_5.c: Likewise.
	* gcc.target/aarch64/sve/cond_logical_5_run.c: Likewise.

Added:
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_1.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_1_run.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_2.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_2_run.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_3.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_3_run.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_4.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_4_run.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_5.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/cond_logical_5_run.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-sve.md
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list