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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,582882cfea9f35db X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-01-11 06:09:56 PST Path: supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!news.iac.net!news-out.cwix.com!newsfeed.cwix.com!bloom-beacon.mit.edu!news.bu.edu!inmet!not-for-mail From: Tucker Taft Newsgroups: comp.lang.ada Subject: Re: Green Hiils AdaMULTI 2000 -> Motorola Coldfire Date: Thu, 11 Jan 2001 09:03:10 -0500 Organization: AverStar (formerly Intermetrics) Burlington, MA USA Message-ID: <3A5DBD1E.D4C4C5F7@averstar.com> References: <93igkj$grt$1@lure.pipex.net> <3a5d73cd$1@pull.gecm.com> NNTP-Posting-Host: nebula.burl.averstar.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: inmet2.burl.averstar.com 979221790 13968 141.199.8.77 (11 Jan 2001 14:03:10 GMT) X-Complaints-To: usenet@inmet2.burl.averstar.com NNTP-Posting-Date: 11 Jan 2001 14:03:10 GMT X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: en Xref: supernews.google.com comp.lang.ada:3908 Date: 2001-01-11T14:03:10+00:00 List-Id: Martin Dowie wrote: > > Mark, > > I don't know if the problems are still current, but here is a snippet > from a conversion report to GH AdaMULTI (but targetted at PPC): > > "The first problem we hit was where the ADA'83 code used types with > 16 bit representation clauses to access 16 bit off board registers. In > ADA'83 reading and writing to variables of these types compiled to > a single access and the code worked fine. In GH ADA'95, however, > the code was compiled into two byte accesses. This often had the effect > of generating a bus error as some of the addresses in question cannot > physically be accessed as 8 bits." > > Some may argue that it was sloppy for the original code not have some > embedded assembler to do the read/writing anyway, but that's not really > the point here. I suspect that many projects don't go to this length if an > "all Ada" version works. pragma Atomic would presumably solve this problem in Ada 95. -- -Tucker Taft stt@avercom.net http://www.averstar.com/~stt/ Chief Technology Officer, AverCom, Inc. (A Titan Company) Burlington, MA USA (AverCom was formed 1/1/01 from the Commercial Division of AverStar) (http://www.averstar.com/services/ebusiness_applications.html)