Odd "endianness" [was Re: RE: Base 64 posts to the list]

Cameron Kaiser spectre at floodgap.com
Thu Dec 8 22:46:54 CST 2016


> > I have an old computer that was intended to do FFTs. It has a
> > complete bit order swap, MSB to LSB, instruction.
> 
> Well, there's the PowerPC "endian" mode (settable in the MSR)--but it's
> just "sort of"--the little-endian mode simply XORs the lower 3 bits of
> the address with 111 (i.e. "flips them").

Or you could use the PowerPC byte-swapped instructions (lwbrx, etc.)

-- 
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser at floodgap.com
-- Maybe this world is another planet's hell. -- Aldous Huxley ----------------


More information about the cctalk mailing list