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: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Oberon and Wirthian languages Date: Tue, 22 Apr 2014 07:41:19 +0100 Organization: A noiseless patient Spider Message-ID: References: <1ljwj8f.1wqbhvuabsdw1N%csampson@inetworld.net> <51c7d6d4-e3be-44d5-a4ce-f7e875345588@googlegroups.com> <%J32v.70539$kp1.45343@fx14.iad> <8761m535e4.fsf_-_@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx05.eternal-september.org; posting-host="17b46ff0ef6492aedc2232708a5c5eff"; logging-data="22566"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+rBR7Yu/HjJLt2vytN4An4iDchceNTdxY=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin) Cancel-Lock: sha1:OtT411D2C72J637pLF50azlhTOg= sha1:0mL8PjeciLNdQJ4J4x5LjKnFPZs= Xref: news.eternal-september.org comp.lang.ada:19486 Date: 2014-04-22T07:41:19+01:00 List-Id: Simon Clubley writes: > Thank you. It was not at all 100% clear from the RM if Ada offered the > _guarantee_ that if you had, say, 3 components in a record assignment > for a atomic bitfield record, that the record assignment would be treated > as one atomic operation instead of 3 atomic operations (one for each > component). Are there CPUs that offer bit-field atomicity? Single bits, maybe. And what about the fact that these are probably to memory-mapped I/O, and the device registers may only offer byte/word/longword access?