[PATCH] Fix PR 47755 on powerpc, make vector constant of all 0's not generate a load instruction

David Edelsohn dje.gcc@gmail.com
Tue Feb 15 18:30:00 GMT 2011


Mike,

Thanks for the revised ChangeLog.  The explanation should not be in
the ChangeLog, only "Remove code that checks for TImode."  The
explanation should be in this email thread.

The patch is okay with the second ChangeLog changed.

Thanks, David

On Tue, Feb 15, 2011 at 1:22 PM, Michael Meissner
<meissner@linux.vnet.ibm.com> wrote:
> Here is a revised patch that explains the removal of TImode in
> easy_vector_constant in the ChangeLog.
>
> [gcc]
> 2011-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
>
>        PR target/47755
>        * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI
>        mode for vector constants.  Remove code that checks for TImode,
>        since TImode is not a vector type, nor presently allowed in VSX
>        and Altivec registers.
>
> [gcc/testsuite]
> 2011-02-15  Michael Meissner  <meissner@linux.vnet.ibm.com>
>
>        PR target/47755
>        * gcc.target/powerpc/pr47755.c: New file, test all 0 vector
>        constant does not generate a load from memory.



More information about the Gcc-patches mailing list