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 [fsf-mainline] make andsi3_internal8 pattern set CR (ppc64)


On Mon, Oct 25, 2004 at 11:15:06AM -0700, Fariborz Jahanian wrote:
> When andsi3_internal8 splitter is used, CR is not set correctly.

Indeed.  EQ is right but LT and GT might be wrong.

>         * config/rs6000/rs6000.md (andsi3_internal8): Set CR when 
> splitting
>         into rotlsi3.

I think your patch is correct, but you should also remove the existing
set of CC in the first parallel.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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