From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca.giganews.com!nntp.giganews.com!goblin3!goblin2!goblin.stu.neva.ru!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Forcing GNAT to use 32-bit load/store instructions on ARM? Date: Tue, 01 Jul 2014 20:43:21 +0100 Organization: A noiseless patient Spider Message-ID: References: <0e0b9ac2-e793-4cc5-8d8d-d3441ca28a58@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="117da9042fa4d6f5956a9b8f72035635"; logging-data="20390"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+m6iWN+7uhcR2f5YT2WR+n7LTT875BCwM=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:wGt4fNSHImQNJKMTKOaDZWI/uRs= sha1:OA1mw6zuxk9iibKFtcjyXu0qDCo= Xref: number.nntp.dca.giganews.com comp.lang.ada:187315 Date: 2014-07-01T20:43:21+01:00 List-Id: Simon Wright writes: > and found that the compiler did a reaonable thing: I forgot to say that, _without_ the Atomic aspect and with -O0, the compiler used byte operations; any higher optimisation and the compiler used the longword access as with Atomic.