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

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Thu Jan 9 15:21:00 GMT 2020


Author: rsandifo
Date: Thu Jan  9 15:21:47 2020
New Revision: 280052

URL: https://gcc.gnu.org/viewcvs?rev=280052&root=gcc&view=rev
Log:
[AArch64] Rename SVE shape "unary_count" to "unary_to_uint"

The SVE ACLE shape names use "_int" and "_uint" for arguments that are
signed-integer or unsigned-integer variants of the main vector type.
With SVE2 this variation also becomes common for return values,
which the main SVE2 patch handles using "_to_int" and "_to_uint".
This patch renames the existing unary_count shape to match the
new scheme.

2020-01-09  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* config/aarch64/aarch64-sve-builtins-shapes.h (unary_count): Delete.
	(unary_to_uint): Define.
	* config/aarch64/aarch64-sve-builtins-shapes.cc (unary_count_def)
	(unary_count): Rename to...
	(unary_to_uint_def, unary_to_uint): ...this.
	* config/aarch64/aarch64-sve-builtins-base.def: Update accordingly.

gcc/testsuite/
	* gcc.target/aarch64/sve/acle/general-c/unary_count_1.c: Rename to...
	* gcc.target/aarch64/sve/acle/general-c/unary_to_uint_1.c: ...this.
	* gcc.target/aarch64/sve/acle/general-c/unary_count_2.c: Rename to...
	* gcc.target/aarch64/sve/acle/general-c/unary_to_uint_2.c: ...this.
	* gcc.target/aarch64/sve/acle/general-c/unary_count_3.c: Rename to...
	* gcc.target/aarch64/sve/acle/general-c/unary_to_uint_3.c: ...this.

Added:
    trunk/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/unary_to_uint_1.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/unary_to_uint_2.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/unary_to_uint_3.c
Removed:
    trunk/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/unary_count_1.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/unary_count_2.c
    trunk/gcc/testsuite/gcc.target/aarch64/sve/acle/general-c/unary_count_3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64-sve-builtins-base.def
    trunk/gcc/config/aarch64/aarch64-sve-builtins-shapes.cc
    trunk/gcc/config/aarch64/aarch64-sve-builtins-shapes.h
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list