Help with gmp-4.0.1 and gcc-3.3.1 on sparcv9?

Torbjorn Granlund tg at
Thu Oct 2 20:01:23 CEST 2003

David Edelsohn <dje at> writes:

  There are actually more bugs in that __asm too.
  "rJ" should be used for the args which end up in rs1 (%2, %4, %6),
  while "rI" should be used for the rest of input args (%3, %5, %7).
  Also, in the asm pattern, where argument has J in it it should be %rN
  instead of %N, ie. subcc %r4,%5,%1 etc.
This was fixed in the gmp tree long ago:

2002-05-21  Torbjorn Granlund  <tege at>

        From Jakub Jelinek:
        * longlong.h (add_ssaaaa,sub_ddmmss) [64-bit sparc]:
        Make it actually work.

Didn't you commit it to the gcc tree at the same time?

[Please don't follow up further to the gmp-devel list.  That list
is actually for developers' technical discussions, not bug reports
and follow-ups.  We have a separate list for those that, gmp-bugs.]


More information about the gmp-devel mailing list