r268771 - in /trunk/gcc: ChangeLog config/rs600...

wschmidt@gcc.gnu.org wschmidt@gcc.gnu.org
Mon Feb 11 16:50:00 GMT 2019


Author: wschmidt
Date: Mon Feb 11 16:50:33 2019
New Revision: 268771

URL: https://gcc.gnu.org/viewcvs?rev=268771&root=gcc&view=rev
Log:
[gcc]

2019-02-11  Bill Schmidt  <wschmidt@linux.ibm.com>

	* config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Shift-right
	and shift-left vector built-ins need to include a TRUNC_MOD_EXPR
	for correct semantics.

[gcc/testsuite]

2019-02-11  Bill Schmidt  <wschmidt@linux.ibm.com>

	* gcc.target/powerpc/vec-sld-modulo.c: New.
	* gcc.target/powerpc/vec-srad-modulo.c: New.
	* gcc.target/powerpc/vec-srd-modulo.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/powerpc/vec-sld-modulo.c
    trunk/gcc/testsuite/gcc.target/powerpc/vec-srad-modulo.c
    trunk/gcc/testsuite/gcc.target/powerpc/vec-srd-modulo.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list