comp.lang.ada
 help / color / mirror / Atom feed
From: Rugxulo <rugxulo@gmail.com>
Subject: Re: 64 bit codes
Date: Thu, 29 Sep 2011 10:08:59 -0700 (PDT)
Date: 2011-09-29T10:08:59-07:00	[thread overview]
Message-ID: <1fbc4bfd-4a41-4352-bd35-e2c1e5b87eeb@de2g2000vbb.googlegroups.com> (raw)
In-Reply-To: 27c75797-a753-4c4c-a16c-501c9ee853b8@n36g2000yqb.googlegroups.com

Hi again,

On Sep 27, 7:38 pm, Rugxulo <rugx...@gmail.com> wrote:
>
> On Sep 27, 8:48 am, Mok-Kong Shen <mok-kong.s...@t-online.de> wrote:
>
> > On 32-bit gcc, arithmetic operations (+, *, etc.) on "unsigned long
> > long int" certainly all work, but it's inefficient. Anyway the runtime,
> > as I have observed in the past, is much higher than I would expect.
> > For lack of knowledge I have not attempted to see the actual code
> > generated, but I suppose that's done with the help of some low-level
> > macros. (By definition, there aren't 64-bit arithmetic instructions on
> > 32-bit hardware.) For on 64-bit hardware a native 64-bit arithmetic
> > operation shouldn't last very much longer than a corresponding 32-bit
> > opeartion, I would think.
>
> So you want better speed? Well, assuming it's even possible and you
> haven't reached a dead end, I imagine you have several realistic
> options:
>
> * use "better" (supported) compiler
>
> *http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetti...
>
> P.S. I'm not on Win64 right now, so I can't honestly say I've tested
> MinGW-64 / Ada there (assuming it exists, oops). But here's
> hoping.  ;-)

Well, they (MinGW-w64) do mention Ada on their website, but apparently
the only Ada toolset(s) from them are Cygwin-hosted (i.e., installed
via Cygwin's setup.exe) and apparently rarely used by them. So the
Win64-targeted version (GCC 4.5.3-3) doesn't work (fails to link,
undefined reference to gnat_eh_blahblah in libgnat.a), yet the i686
(32-bit) one works fine (only tested simple "hello world"). I've filed
a bug report on SourceForge.

Not exactly what you wanted to hear, but better than nothing.   ;-)



  reply	other threads:[~2011-09-29 17:09 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
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 [this message]
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