Deorbiting i386

Joerg Sonnenberger joerg at bec.de
Mon May 28 10:14:14 UTC 2018


On Sun, May 27, 2018 at 03:15:05PM -0700, Maxim Sobolev wrote:
> Well, strip extra 32 bits, use slower memory and busses (extra decoding
> logic etc). Voila, you suddenly have platform that can run 99% of code in
> wild today with just few hundred mW of power. Try that with arm32, you
> would be surprised how many software is technically compiling and all that,
> but has some weird runtime issues with either byte order or unaligned
> memory accesses. Not even mention performance issues due to the lack of
> hand-crafted JITs.

Surprisingly, neither unaligned memory access nor byte order is really a
problem on ARM. The first can be turned off on all but vintage CPUs and
the latter is typically LE nowadays if not runtime switchable. The two
portability gotchas for ARM are entirely different things:
(1) char == unsigned char
(2) Over-sized shifts are saturing.

Joerg


More information about the svn-src-all mailing list