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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,e56fd2619c02e35a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.8.135 with SMTP id r7mr27259661pba.8.1317109760000; Tue, 27 Sep 2011 00:49:20 -0700 (PDT) Path: lh7ni5824pbb.0!nntp.google.com!news1.google.com!goblin1!goblin2!goblin.stu.neva.ru!feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.teledata-fn.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 27 Sep 2011 09:48:43 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: 64 bit codes References: In-Reply-To: Message-ID: <4e817fdb$0$7615$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 27 Sep 2011 09:48:43 CEST NNTP-Posting-Host: c83e8b23.newsspool1.arcor-online.net X-Trace: DXC=HG:kkgUS5ij]BlmkiiU@Biic==]BZ:afn4Fo<]lROoRa<`=YMgDjhgbnDOROYlK6_`PCY\c7>ejVhbZg@UifjcFd1[BPLgCfR=f X-Complaints-To: usenet-abuse@arcor.de Xref: news1.google.com comp.lang.ada:18151 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Date: 2011-09-27T09:48:43+02:00 List-Id: On 27.09.11 08:59, Mok-Kong Shen wrote: > The included gcc does not accept the -m64 option. Which one of the GNAT distributions for Windows(TM) do you have? X:\> gcc -v X:\> gnatls -v are ways to learn about the compiler. > Does this imply that > the ADA codes generated do not make full use of the 64 bit hardware? Does your GNAT accept type T is range 0 .. 2**40? and does the generated code show use of the RAX registers etc? Side note: if GCC still does not permit switching the physical size of pointers, then programs that use lots of pointers (in the generated code, not necessarily in the Ada source text) might be less efficient and waste CPU cache if all pointers are 64bit in size. > (My PC runs Windows 7, 64 bit version.) Thanks. > > M. K. Shen