[PATCH, rs6000] PR 80982 gcc.target/powerpc/builtins-3-runnable.c fails starting with its introduction in r248846

Segher Boessenkool segher@kernel.crashing.org
Wed Jun 7 21:23:00 GMT 2017


On Wed, Jun 07, 2017 at 12:16:09PM -0700, Carl E. Love wrote:
> Bug 80982 - gcc.target/powerpc/builtins-3-runnable.c fails starting with
> its introduction in r248846. 
> 
> The failure was due to GEN_INT (8) being out of bounds.  Once that was
> fixed, the order of the arguments also needed fixing to get the correct
> result.  These changes only apply to the BE code.
> 
> The following patch has been tested on powerpc64le-unknown-linux-gnu
> (Power 8 LE) and on powerpc64-unknown-linux-gnu (Power 8 BE) with no
> regressions.
> 
> Is the patch OK for gcc mainline?

Yes please.  Modulo a changelog thing:

> 2017-06-07  Carl Love  <cel@us.ibm.com>
> 
> 	PR target/80982
> 	* config/rs6000/altivec.md: Fix the implementation of
> 	(define_expand "doublel<mode>2" for BE.

	* config/rs6000/altivec.md (double<mode>2): Fix the implementation
	for BE.

Thanks,


Segher



More information about the Gcc-patches mailing list