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: border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Forcing GNAT to use 32-bit load/store instructions on ARM? Date: Wed, 2 Jul 2014 16:49:11 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <0e0b9ac2-e793-4cc5-8d8d-d3441ca28a58@googlegroups.com> Injection-Date: Wed, 2 Jul 2014 16:49:11 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="12463"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19uuJ0mO8C7k/4znu9cQVvbfB+2sCIEd7Y=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:3Eumt4pReJxezmw+nAO39RYQ86c= Xref: number.nntp.dca.giganews.com comp.lang.ada:187325 Date: 2014-07-02T16:49:11+00:00 List-Id: On 2014-07-01, Niklas Holsti wrote: > On 14-07-02 00:20 , Simon Clubley wrote: >> >> When c.l.a talked a few weeks ago about syntax for the atomic update >> of multiple bitfields at the same time, I had thought the general >> view was that Atomic on a record resulted in register updates in units >> of the record size when updating a single bitfield, but that's clearly >> not the case as you have just pointed out. > > As I remember, the new syntax ideas in that discussion were meant to > update some bitfields in an atomic record as part of a read, modify, > write sequence, accessing the whole record without using a temporary > variable to hold the value. So Ada's rule for Atomic was included and > assumed in that discussion. Yes, you are correct. Thinking about it, this interpretation of Ada's Atomic rule is still consistent with that discussion because the underlying reference is to the _full_ record in those proposals. > I am ashamed for forgetting it... maybe > there have been too many midnight-football-viewing sessions lately :-) > :-) Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world