testing status of GMP (5.0.1)

foxmuldrster at yahoo.com foxmuldrster at yahoo.com
Mon Mar 21 19:02:50 CET 2011


Torbjorn,

This doesn't seem likely to me. There are many 64-bit apps that use 64-bit regs. If the upper 32-bits were clobbered during a context switch, the os would be completely unusable as pre-emptive kernels switch tasks hundreds to thousands of times a second.

There has to be another explanation.

- Rick C. Hodgin

-----Original message-----
From: Torbjorn Granlund <tg at gmplib.org>
To: Zimmermann Paul <Paul.Zimmermann at loria.fr>
Cc: gmp-devel at gmplib.org
Sent: Mon, Mar 21, 2011 11:29:20 GMT+00:00
Subject: Re: testing status of GMP (5.0.1)

Zimmermann Paul <Paul.Zimmermann at loria.fr> writes:

  on http://gmplib.org/devel/testmachines.shtml only ABI=1.0 is tested for
  hppa2.0-unknown-linux-gnu, whereas all three ABIs (1.0, 2.0n and 2.0w)
  are tested on hppa2.0w-hp-hpux11.11.
  
  On hppa2.0-unknown-linux-gnu, the default ABI is 2.0n, and several tests
  fail (on dingo.fsffrance.org, tested with GCC 4.4.1). It would be good that
  the default ABI is tested too, and/or change the default ABI under
  hppa2.0-unknown-linux-gnu to 1.0.

This is a problem with the kernel Linux.  If you use the 64-bit
registers, the upper 32-bit will be clobbered whenever there is a
context switch.

I've talked to th hppa Linux developers, and they think this bug is a
feature, and plan to keep it.

This all means that one must pretend 64-bit hppa processors are actually
32-bit processors, or run some other kernel than Linux.

-- 
Torbjörn
_______________________________________________
gmp-devel mailing list
gmp-devel at gmplib.org
https://gmplib.org/mailman/listinfo/gmp-devel


More information about the gmp-devel mailing list