This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,rs6000] Fix implementation of vec_unpackh, vec_unpackl builtins


Hi Carl,

On Tue, Jul 03, 2018 at 02:36:22PM -0700, Carl Love wrote:
> Please let me know if the patch looks OK for GCC mainline. The patch
> also needs to be backported to GCC 8.

Looks great, thanks!  Okay for trunk, and also for 8.


Segher


> 2018-07-03  Carl Love  <cel@us.ibm.com>
> 
> 	* config/rs6000/rs6000-c.c: Map ALTIVEC_BUILTIN_VEC_UNPACKH for
> 	float argument to VSX_BUILTIN_DOUBLEH_V4SF.
> 	Map ALTIVEC_BUILTIN_VEC_UNPACKL for float argument to
> 	VSX_BUILTIN_DOUBLEL_V4SF.
> 
> gcc/testsuite/ChangeLog:
> 
> 2018-07-03  Carl Love  <cel@us.ibm.com>
> 	* gcc.target/altivec-1-runnable.c: New test file.
> 	* gcc.target/altivec-2-runnable.c: New test file.
> 	* gcc.target/vsx-7.c (main2): Change expected expected instruction
> 	for tests.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]