Port-sparc64 archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Using %stick where available
>>> matthew green <mrg%eterna.com.au@localhost> wrote
>
> > > rd SOFTINT, %g1
> > > - btst 1, %g1
> > > + mov 1, %g5
> > > + sllx %g5, 16, %g3
> > > + or %g5, %g3, %g5
> >
> > Only "set 0x1001, %g5" is faster.
>
> oh much better than mine :-)
No, "set" is synonym of "sethi/or" sequence. So it's same to your
suggestion. (except for confusing typo. 0x1001 -> 0x10001 :-)
-- Takeshi Nakayama
Home |
Main Index |
Thread Index |
Old Index