bug-gmp
[Top][All Lists]
Advanced

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

Re: 3.1.1 assembler bug on IA-64


From: Torbjorn Granlund
Subject: Re: 3.1.1 assembler bug on IA-64
Date: 01 Feb 2001 18:33:03 +0100
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.6

Richard Fish <address@hidden> writes:

  mul_1.c: In function `__gmpn_mul_1':
  mul_1.c:49: Can't find a register in class `AR_I_REGS' while reloading `asm'.
  
  Not being an assembly programmer, I can't help fix the actual
  problem.  However, by applying the following patch, and configuring with
  "CFLAGS=-DNO_ASM", I can build a functioning (although, not
  speedy) libgmp.
  
I better change is to fix the ia64 umul_ppmm macro.  Change "e" in
three places to "f" in the asm.

That will give you much better speed, but still just perhaps 5% of the
peak performance of this chip.  Since I don't have any ia64 system,
nor ia64 development funding, I am not going to work on improving the
performance.  I'd gratefully commit well-written assembly routines to
the GMP repository, and equally gratefully would accept an ia64 system
and development funding.  :-)

-- 
Torbjörn



reply via email to

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