64-bit GMP on Apple G5/OS X v10.4

Torbjorn Granlund tege at swox.com
Thu Apr 28 10:12:44 CEST 2005

pbmcl at netscape.net writes:

  Not yet. I'll try it this weekend and compare it to the numbers
  that have been posted for the 970 at 2.5 GHz. If there is much
  difference I'll send in the numbers.

Don't expect better numbers; the present numbers are from Linux
with the processor running in 64-bit mode.

  Yes, of course! This work was done on my own machine on my own
  time, so there is no employer involved. If this email is good
  enough, then you have my permission. Otherwise, let me know
  what you need from me.

Good.  I'll get back to you later about this.

  >I notice that you've dropped many copyright years from the
  >assembly code.  That's not good.  You need to preserve such
  >things when editing GPL files.
  Oops! Sorry. I didn't notice that the dates change from file to
  file. I started with the generic C files and just copied in the
  corresponding assembly code from mpn/powerpc64, with minor
  fixups for Apple syntax.

I'm afraid you need to address this, since it is a (minor)
violation of the GPL.

  The .asm files wouldn't work directly,
  either because Apple's pre-release gcc4 doesn't set the 64-bit
  mode properly for .asm files,

Perhaps we can add some syntax to the asm files to let Apple's
assembler understand the files.  That would be the right
approach, in line with how we solve this sort of problems in GMP.


More information about the gmp-discuss mailing list