This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH,rs6000] Fix implementation of vec_unpackh, vec_unpackl builtins
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Carl Love <cel at us dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, David Edelsohn <dje dot gcc at gmail dot com>, Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>
- Date: Thu, 5 Jul 2018 07:15:41 -0500
- Subject: Re: [PATCH,rs6000] Fix implementation of vec_unpackh, vec_unpackl builtins
- References: <1530283119.28576.2.camel@us.ibm.com> <20180702165353.GZ16221@gate.crashing.org> <1530653782.4606.3.camel@us.ibm.com>
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.