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, FREEMAIL_FROM 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 r7mr27506158pba.8.1317114270796; Tue, 27 Sep 2011 02:04:30 -0700 (PDT) Path: lh7ni5863pbb.0!nntp.google.com!news1.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!news.albasani.net!.POSTED!not-for-mail From: Mok-Kong Shen Newsgroups: comp.lang.ada Subject: Re: 64 bit codes Date: Tue, 27 Sep 2011 11:04:30 +0200 Organization: albasani.net Message-ID: References: <4e817fdb$0$7615$9b4e6d93@newsspool1.arcor-online.net> Mime-Version: 1.0 X-Trace: news.albasani.net o27yZ1BJ965mj3PTHWHaIpft6BfPF4ep3IWFf4J/wra5DCmSscCz+EjAtICg8D1aMy2IfhMhqbjXEaxo2kcmIQ6vg9zrMdEU8j7GdgZQ1AkobezGx7QoN/QIOSdN2n2Z NNTP-Posting-Date: Tue, 27 Sep 2011 09:04:30 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="Y4GZuwpQqpRu7060boQZzyfz2VRSfL51jQfTc8RP0uwmnpVU6UHdRgITxON6rxXK1O+WLTmccCJ5KZ8GCqRsgNazk4X6hAlu+IPnvIKWz5Udis9BB7P+H0ZVFGFvqubH"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 In-Reply-To: <4e817fdb$0$7615$9b4e6d93@newsspool1.arcor-online.net> Cancel-Lock: sha1:Kdr8pNRE+3dRfqNTNQ1HBrlYHiM= Xref: news1.google.com comp.lang.ada:18155 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Date: 2011-09-27T11:04:30+02:00 List-Id: Am 27.09.2011 09:48, schrieb Georg Bauhaus: > 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. gcc -v gives among others: COLLECT_LTO_WRAPPER=c:/gant/2011/bin/../libexec/gcc/i686-pc-mingw32/4.5.3/lto-wrapper.exe Target: i686-pc-mingw32 Configured with: (lots of stuff, among them:) --build=i686-pc-mingw32 -enable-threads=win32 Thread model: win32 gcc version 4.5.3 20110428 for GNAT GPL 2011 <20110428> gnatls -v gives 2 paths: C:/GNAT/2011/lib/gcc/i686-pc-mingw32/4.5.3/adainclude/ C:/GNAT/2011/lib/gcc/i686-pc-mingw32/4.5.3/adalib/ > Does your GNAT accept > > type T is range 0 .. 2**40? yes (no complaint on compilation). > and does the generated code show use of the RAX registers > etc? I am not familiar with how to examine the generated code. I should be grateful, if you could further help me with the information above in obtaining the answer to my question. M. K. Shen > 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.