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 for altivec.md [ppc] to fix vec_merge patterns.


Fariborz Jahanian <fjahanian@apple.com> writes:

> This patch fixes problem in vec_merge patterns used to do merge of two
> altivec vector constants on  ppc. Old patterns results in incorrect
> merge and causes  following test case to fail (when compiled with
> -O2). Patch has been dejagnu tested on apple-ppc-darwin and used in
> internal app which used to fail.
> 
> OK for mainline?
> 
> - fariborz (fjahanian@apple.com)
> 
> ChangeLog:
> 
> 2005-05-13  Fariborz Jahanian <fjahanian@apple.com>
> 
>          * config/rs6000/altivec.md (altivec_vmrghb, altivec_vmrghh,
>          altivec_vmrghw, altivec_vmrglb, altivec_vmrglh, altivec_vmrglw):
>          New values for vec_select definitions and bitmask for element
>          selection.

This is OK.


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