r235212 - in /branches/ibm/pre-gcc7/gcc: Change...

kelvin@gcc.gnu.org kelvin@gcc.gnu.org
Tue Apr 19 17:36:00 GMT 2016


Author: kelvin
Date: Tue Apr 19 17:36:55 2016
New Revision: 235212

URL: https://gcc.gnu.org/viewcvs?rev=235212&root=gcc&view=rev
Log:
gcc/ChangeLog:

2016-04-18  Kelvin Nilsen  <kelvin@gcc.gnu.org>

	* doc/extend.texi: Add documentation for the vec_adu(),
	vec_adub(), vec_aduh(), and vec_aduw() built-ins.
	* config/rs6000/rs6000.h (MASK_P9_VECTOR): New macro definition.
	This change is redundant with a previously merged patch.
	(RS6000_BTM_P9_VECTOR): Correct error in previous definition of
	this macro.  This change is redundant with a previously merged patch.
	* config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Added
	three P9V_BUILTIN_VEC_VADU entries for three overloaded variants
	of the builtin_vec_vadu() function and P9V_BUILTIN_VEC_VADUB,
	P9V_BUILTIN_VEC_VADUH, and P9V_BUILTIN_VEC_VADUW entries for the
	builtin_vec_vadub(), builtin_vec_vaduh(), and builtin_vec_vaduw()
	functions.
	* config/rs6000/rs6000-builtin.def: Add macro expansions for
	__builtin_altivec_vadub, __builtin_altivec_vaduh, and
	__builtin_altivec_vaduw, and for overloaded functions
	__builtin_vec_vadu, __builtin_vec_vadub, __builtin_vec_vaduh, and
	__builtin_vec_vaduw.
	* config/rs6000/altivec.md (UNSPEC_VADU): New unspec constant.
	("vadu<mode>3"): New expand pattern.
	("*p9_vadu<mode>3"): New insn pattern.
	* config/rs6000/altivec.h (vec_adu): New macro definition.
	(vec_adub): New macro definition.
	(vec_aduh): New macro definition.
	(vec_aduw): new macro definition.

gcc/testsuite/ChangeLog:

2016-04-18  Kelvin Nilsen  <kelvin@gcc.gnu.org>

	* gcc.target/powerpc/vadsdu-0.c: New test.
	* gcc.target/powerpc/vadsdu-1.c: New test.
	* gcc.target/powerpc/vadsdu-2.c: New test.
	* gcc.target/powerpc/vadsdu-3.c: New test.
	* gcc.target/powerpc/vadsdu-4.c: New test.
	* gcc.target/powerpc/vadsdu-5.c: New test.
	* gcc.target/powerpc/vadsdub-1.c: New test.
	* gcc.target/powerpc/vadsdub-2.c: New test.
	* gcc.target/powerpc/vadsduh-1.c: New test.
	* gcc.target/powerpc/vadsduh-2.c: New test.
	* gcc.target/powerpc/vadsduw-1.c: New test.
	* gcc.target/powerpc/vadsduw-2.c: New test.



Added:
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsdu-0.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsdu-1.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsdu-2.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsdu-3.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsdu-4.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsdu-5.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsdub-1.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsdub-2.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsduh-1.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsduh-2.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsduw-1.c
    branches/ibm/pre-gcc7/gcc/testsuite/gcc.target/powerpc/vadsduw-2.c
Modified:
    branches/ibm/pre-gcc7/gcc/ChangeLog.ibm
    branches/ibm/pre-gcc7/gcc/config/rs6000/altivec.h
    branches/ibm/pre-gcc7/gcc/config/rs6000/altivec.md
    branches/ibm/pre-gcc7/gcc/config/rs6000/rs6000-builtin.def
    branches/ibm/pre-gcc7/gcc/config/rs6000/rs6000-c.c
    branches/ibm/pre-gcc7/gcc/doc/extend.texi
    branches/ibm/pre-gcc7/gcc/testsuite/ChangeLog.ibm



More information about the Gcc-cvs mailing list