comp.lang.ada
 help / color / mirror / Atom feed
From: Mok-Kong Shen <mok-kong.shen@t-online.de>
Subject: Re: 64 bit codes
Date: Tue, 27 Sep 2011 11:04:30 +0200
Date: 2011-09-27T11:04:30+02:00	[thread overview]
Message-ID: <j5s3iu$olh$1@news.albasani.net> (raw)
In-Reply-To: <4e817fdb$0$7615$9b4e6d93@newsspool1.arcor-online.net>

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> <GCC>

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.





  reply	other threads:[~2011-09-27  9:04 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27  6:59 64 bit codes Mok-Kong Shen
2011-09-27  7:48 ` Georg Bauhaus
2011-09-27  9:04   ` Mok-Kong Shen [this message]
2011-09-27  9:14     ` Ludovic Brenta
2011-09-27  9:54       ` Mok-Kong Shen
2011-09-27 10:08         ` Ludovic Brenta
2011-09-27 11:21           ` Mok-Kong Shen
2011-09-27 13:09             ` Ludovic Brenta
2011-09-27 13:25               ` Georg Bauhaus
2011-09-27 13:51                 ` Mok-Kong Shen
2011-09-27 14:15                   ` Mok-Kong Shen
2011-09-27 14:40                     ` Ludovic Brenta
2011-09-27 13:48               ` Mok-Kong Shen
2011-09-27 14:50                 ` Ludovic Brenta
2011-09-27 15:49                   ` Bill Findlay
2011-09-28  9:53                     ` Georg Bauhaus
2011-09-28 10:36                       ` Ludovic Brenta
2011-09-28  0:38                 ` Rugxulo
2011-09-29 17:08                   ` Rugxulo
2011-09-29 19:20                     ` Pascal Obry
2011-09-29 19:26                       ` Ludovic Brenta
2011-09-29 19:35                         ` Pascal Obry
2011-09-29 19:38                           ` Pascal Obry
2011-10-06  2:48                     ` mjamesb
2011-09-27 15:39               ` Simon Wright
2011-09-27 19:13                 ` Simon Wright
2011-09-28  7:16                   ` Georg Bauhaus
2011-09-28 12:26                     ` Fritz Wuehler
2011-09-28 13:41                       ` Yannick Duchêne (Hibou57)
2011-09-28 14:28                       ` Georg Bauhaus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox