Re: [OT] The Ramifications of Little-Endian Packed Decimal

From: Niels Jørgen Kruse (nj_kruse_at_get2net.dk)
Date: 02/29/04


Date: Sun, 29 Feb 2004 18:21:36 +0100

I artiklen <ce9d692b.0402281827.414bcc7a@posting.google.com> ,
old_systems_guy@yahoo.com (John Mashey) skrev:

> Andrew Reilly <andrew@gurney.reilly.home> wrote in message
> news:<pan.2003.08.20.23.49.20.467962@gurney.reilly.home>...
>> On Wed, 20 Aug 2003 13:51:18 +0000, jsavard wrote:
>> > So, after I considered this - after seeing the cataclysmic results of
>> > changing the bit while executing code whose interpretation is affected by
>> > it, on a system that implements endianness-change by means of bit munging
>> > - I realized there was _another_ alternative.
>> >
>> > Define endianness in the *segment registers*, so that you can change the
>> > data segment from big-endian to little-endian while leaving the code
>> > segment alone!

Motorolas e500 core picks endianness on a page by page base.
(Don't know what it is for.)

[big snip]

> 7) During the early 1990s, when Windows NT was really getting going, Microsoft
> was very clear: there would NEVER be an NT port to a BE CPU. I believe that
> this may have induced others to add LE compatibility to BE CPUs, "just in
> case."

The PPC970 doesn't have a little-endian mode (only opposite endian versions
of a few instructions).

<http://www.theinquirer.net/?article=14407>
[Says that the Xbox2 SDK runs a custom Windows NT Kernel on a PowerMac G5.]

They could be wrong of course.

--
Mvh./Regards,    Niels Jørgen Kruse,    Vanløse, Denmark


Relevant Pages

  • Re: [PATCH 0/3] x86: adapt CPU topology detection for AMD Magny-Cours
    ... more like a solution in search of a problem, instead of the proper other ... No you just bind to that CPU. ... (And I meant not pinning to one core but to a set of cores). ...
    (Linux-Kernel)
  • Re: Big / Little endian
    ... However this only effects the core other bits of the system ... Changing endianness dynamically can also cause havoc debuggers as most ... of them don't expect the endianness of the target to change underneath ... Development Systems ARM Limited. ...
    (comp.sys.arm)
  • Re: BIG or little endian
    ... Consider a machine that has "endian control" in the CPU, ... used by a processor running in the "other" endianness. ... set the invert bit in both the CPU and the instruction, ... given type has some specified representation *for a given ...
    (comp.lang.c)
  • Re: Little to big endian conversion
    ... endianness is a result of the process of breaking ... Suppose you have a wooden plank you bought ... CPU is going to have to break up and assemble things. ... using one or more "endian control bits". ...
    (comp.lang.c)
  • Re: byte order problem
    ... That'll indeed read each long according to the platform byte-order. ... some functions to convert endianness as needed. ... union ByteOrderer { ...
    (comp.lang.cpp)