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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,461d464a39a7a30a X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 X-Received: by 10.180.75.7 with SMTP id y7mr7065307wiv.0.1367666559528; Sat, 04 May 2013 04:22:39 -0700 (PDT) Path: hg5ni66881wib.1!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.108.MISMATCH!feeder2.cambriumusenet.nl!feed.tweaknews.nl!94.232.116.12.MISMATCH!feed.xsnews.nl!border-2.ams.xsnews.nl!border4.nntp.ams.giganews.com!border2.nntp.ams.giganews.com!backlog2.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nrc-news.nrc.ca!News.Dal.Ca!news.litech.org!news.stack.nl!aioe.org!.POSTED!not-for-mail From: =?utf-8?Q?Yannick_Duch=C3=AAne_=28Hibou57?= =?utf-8?Q?=29?= Newsgroups: comp.lang.ada Subject: Re: Erroneous code generation from GNAT or GCC? Date: Tue, 30 Apr 2013 23:28:38 +0200 Organization: Ada @ Home Message-ID: References: NNTP-Posting-Host: gFlCVqYhFMvL17n7JqXJeg.user.speranza.aioe.org Mime-Version: 1.0 X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.15 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 X-Original-Bytes: 2075 Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes Content-Transfer-Encoding: Quoted-Printable Date: 2013-04-30T23:28:38+02:00 List-Id: Le Tue, 30 Apr 2013 21:06:09 +0200, Simon Wright a = = =C3=A9crit: > I was wondering what you meant by using constraints "a", "b", "c", "d"= > .. I now see [3] that these are i386 constraints for the a..d register= s > respectively, no wonder they gave wierd results on x86_64 where they > mean something quite different! They do exists with 64 bits instructions too. a is eax; b is ebx, etc, f= or = 32 bits mode, and a is rax, b is rbx, etc, for 64 bits mode. There is al= so = ax/ah/al, ax/bh/bl, etc, as sub=E2=80=91parts of the above, except ax, b= x, etc, is = for 16 bits only, but ah, al, bh, bl are still a accessible in 32 bits = mode =E2=80=94 I don't know if it's still the case in 64 bits mode. -- = =E2=80=9CSyntactic sugar causes cancer of the semi-colons.=E2=80=9D [1] =E2=80=9CStructured Programming supports the law of the excluded muddle.= =E2=80=9D [1] [1]: Epigrams on Programming =E2=80=94 Alan J. =E2=80=94 P. Yale Univers= ity