64bit integer problem?

Björn König bkoenig at alpha-tierchen.de
Wed Sep 19 01:08:47 PDT 2007


Neil Bradley wrote:

> All ARM architectures come up out of reset in little endian mode.
> It takes extra instructions to put it in big endian mode. I would
> call that a default endianness. ;-) [...]

Oh, there is a misunderstanding between us. The thing that you call
"architecture" is what I call "implementation".

There is only one architecture (ARM), several families (i.e. ARMv4,
ARMv5), and many implementations (XScale, ARM9, ARM7, ARM11). The ARM
architecture doesn't define specific endianess, but commonly known
implementations provide both endianesses.

> None of the ARM architectures I've worked with (XScale, ARM9, ARM7,
> ARM11) have ever come up by default in big endian.

This is correct behaviour. The reference manual demands little endian as
default if both are implemented.

Björn




More information about the freebsd-arm mailing list