[PATCH] S/390: Add a 64 bit gmp-mparam.h file

Torbjorn Granlund tg at swox.com
Fri Feb 20 14:11:14 CET 2009


"Andreas Krebbel" <krebbel at linux.vnet.ibm.com> writes:

  The problem is that configure handles s390 and s390x equally and
  requires the udiv_w_sdiv function for both although s390x does not
  need it.
  
Well, sort of.  We try to support all available ABIs, so recognizing
s390 and s390x is similar machines might not be bad, as long as we try
the 64-bit ABI for the latter, but allow ABI=32 if the environment
supports it.

  Fixed with the attached patch.
  
Thanks.  The only change strictly needed is the one for configure.in.

I still think we should support s390x somewhat better than this, to
allow some sort of performance.  But perhaps there are no useful
64-bit multiply instructions?

-- 
Torbjörn


More information about the gmp-discuss mailing list