C (42/254)

From:Sebastian Jedruszkiewicz
Date:01 Apr 00 at 13:18:30
Subject:Re: endian code donations?

Hello Allan

On 31-Mar-00, Allan Odgaard wrote:

>> and there must be an easier way to do it (its only three instructions in
>> ASM):
>
> Doesn't the Pentium have a dedicated instruction for it?

Dont know about pentiom, but for sure there are such a instructions in PPC.

lhbrx (load half word byte rotate with index)
lwbrx (load word byte rotate index

and for storing

sthbrx
stwbrx

Sebastian

------------------------------------------------------------------------
PERFORM CPR ON YOUR APR!
Get a NextCard Visa, in 30 seconds! Get rates as low as
0.0% Intro or 9.9% Fixed APR and no hidden fees.
Apply NOW!
http://click.egroups.com/1/2121/1/_/451227/_/954592961/
------------------------------------------------------------------------