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], Add power9 support to GCC, patch #3 (scalar count trailing zeros)


On Mon, Nov 09, 2015 at 12:17:49PM -0500, Michael Meissner wrote:
> > > +  "TARGET_CTZ"
> > > +  "cnttz<wd> %0,%1"
> > > +  [(set_attr "type" "cntlz")])
> > 
> > We should probably rename this attr value now.  "cntz" maybe?  Could be
> > later of course.
> 
> I don't see a need to add another type attribute for count trailing zeros
> unless count leading zeros has a different timing than count trailing zeros.

I didn't suggest adding a "cnttz"; I suggested renaming "cntlz".  Maybe
"ctz" is better, that's what the target flag is as well.

Cheers,


Segher


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