Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2018 12:14:09 +0200
From:      Joerg Sonnenberger <joerg@bec.de>
To:        svn-src-all@freebsd.org
Subject:   Re: Deorbiting i386
Message-ID:  <20180528101409.GB5945@britannica.bec.de>
In-Reply-To: <CAH7qZfuAorn8ha-p4hjUpfbz=jXWdPr8ONRXJAKCi9JjHV8jDQ@mail.gmail.com>
References:  <201805232218.w4NMIxMA067892@slippy.cwsent.com> <e4311612-d1c4-b118-187b-7086945a312d@FreeBSD.org> <18a87d6d-14af-ef9d-80ff-403039e36692@cs.duke.edu> <CAPrugNomum%2BDO7M3GET3y0DrFse7jy1PmSUwnXGU5Sm6DXRrVg@mail.gmail.com> <20180525003949.GA710@lonesome.com> <CAH7qZfsbGheNqnwNmkP5jYiE=FXzc65yZSBoX_mM%2BuNce9rhyQ@mail.gmail.com> <05C5BD86-70D0-4B02-AC29-36E68B3602AE@FreeBSD.org> <CAH7qZfs6CGVjRK4jvRaVJ6aDoanxgSmwjiS34zn7gFYNdhKYSg@mail.gmail.com> <1A6567CD-5BE8-4E80-A262-00ADB75CF35A@FreeBSD.org> <CAH7qZfuAorn8ha-p4hjUpfbz=jXWdPr8ONRXJAKCi9JjHV8jDQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180528101409.GB5945>