On 7 October 2016 at 00:31, David Gibson <da...@gibson.dropbear.id.au> wrote: > Honestly I think TAGET_WORDS_BIGENDIAN is just a hangover from when > nearly all CPUs worked exclusively in one endianness. It's never > terribly well defined.
Feel free to try to get rid of it, but it's baked into the KVM ABI as a concept and also important for TCG efficiency. It works fine both for "always one endianness" systems and for "programmably variable" CPUs like ARM. thanks -- PMM