bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ABI on AIX


From: Torbjorn Granlund
Subject: Re: ABI on AIX
Date: 28 Feb 2003 18:35:52 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Tony Reix <address@hidden> writes:

  Here is what configure does on my AIX 4.3.3 machine about ABI:
  
  # configure :
  .....
  using ABI="aix64"
        CC="cc"
        CFLAGS="-g -O2 -q64 -qtune=pwr3 -qmaxmem=20000"
        CPPFLAGS=""
        MPN_PATH=" powerpc64 generic"
  
  -q64 means that I can't use GMP on a AIX 32bit machine !?
  
The default on a 64-bit AIX machine is to use the 64-bit ABI,
since it allows us to use 64-bit instructions such as multiply and add.

  I don't understand why the configuration of GMP forces -q64 on AIX.

It doesn't force that.  See the manual about ISA and ABI.
If you want 32-bit code, resulting on much worse performance,
you can ask for that.

  I thought the type "long long" would help.

Help with what?

The PowerPC processor in 32-bit mode will trap if a 64-bit instruction
is used, and change the definition of some instruction.

-- 
Torbjörn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]