comp.lang.ada
 help / color / mirror / Atom feed
From: Georg Bauhaus <rm.dash-bauhaus@futureapps.de>
Subject: Re: 64 bit codes
Date: Tue, 27 Sep 2011 09:48:43 +0200
Date: 2011-09-27T09:48:43+02:00	[thread overview]
Message-ID: <4e817fdb$0$7615$9b4e6d93@newsspool1.arcor-online.net> (raw)
In-Reply-To: <j5rs8s$9fk$1@news.albasani.net>

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




  reply	other threads:[~2011-09-27  7:49 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 [this message]
2011-09-27  9:04   ` Mok-Kong Shen
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