Re: [AD] Color convertors

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Eric Botcazou wrote:
[snip]
You replaced one 'andl $FF000000' with two 'shll': that's fatal on Pentium
for the pairing because 'shll' is not fully pairable (it can only go into
the U pipe).

I rechecked my docs. All shifts are fully pariable in either pipe, but only one can be executed per clock (That goes for all Intel CPUs >= 586). So the two shits take two ops, whereas the and takes only one. I'll patch the code tomorrow (today I do a release of AGL).


--
- Robert J Ohannessian
"Microsoft code is probably O(n^20)" (my CS prof)
http://pages.infinit.net/voidstar/



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/