From: Rugxulo <rugxulo@gmail.com>
Subject: Re: 64 bit codes
Date: Tue, 27 Sep 2011 17:38:02 -0700 (PDT)
Date: 2011-09-27T17:38:02-07:00 [thread overview]
Message-ID: <27c75797-a753-4c4c-a16c-501c9ee853b8@n36g2000yqb.googlegroups.com> (raw)
In-Reply-To: j5sk71$s74$1@news.albasani.net
Hi,
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 different compiler switches
* use faster algorithms
* use "better" (supported) compiler
* use vectorization
* use (tiny bits of) assembly
* use "better" (supported) OS
* use "better" (supported) language
(I'm not being facetious here, I'm really trying to help. But this is
a bit too naive an attempt I suppose.)
* -mtune=native -O3
* http://seed7.sourceforge.net/algorith/index.htm
* http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Automated%20Builds/
(or) http://www.atego.com/support/eval-aonix-objectada/
* -ftree-vectorize
* http://board.flatassembler.net/topic.php?t=7852&start=9
* https://fedorahosted.org/liveusb-creator/
(or) https://www.virtualbox.org/
* http://sourceforge.net/projects/freepascal/files/Win32/2.4.4/fpc-2.4.4.x86_64-win64.exe/download
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. ;-)
next prev parent reply other threads:[~2011-09-28 0:38 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 [this message]
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