[parisc-linux] [RFC] using 64bit wide registers with 32bit kernel
Grant Grundler
grundler at parisc-linux.org
Sun May 14 00:27:17 MDT 2006
On Sat, May 13, 2006 at 07:35:48PM -0400, John David Anglin wrote:
> > Are you trying to say that userspace code shouldn't be using the full
> > registers width when running a 32bit (narrow) kernel?
>
> I don't believe that it's impossible to support the full register width
> with a 32bit (narrow) kernel. However, hpux to my knowledge doesn't
> support 64-bit registers when using a narrow kernel.
I believe later 10.20 updates/patches to support PA2.0 processors did
in fact support saving/restoring 64-bits. But it's been a _long_
time since I've look at that.
> I think this
> reflects the historical development of hpux. The first PA 2.0 kernels
> were narrow and based on the 32-bit PA 1.1 implementation.
Correct. Mostly in the form of 10.20 patches.
> Wide kernels were introduced with HP-UX 11.
Trivia: 10.30 was a T600/customer specific release that
provided 64-bit support before 11.00 was ready.
...
> Personally, I think the wide register support is most important
> when running a 64-bit kernel and that's the place it would be
> easiest to implement. I can see that there are situations where
> it would be nice to use 64-bit registers on a narrow kernel but
> this would change the size of register files, the context passed
> to signal handlers, etc.
Oh..good point. I'm really not willing to tolerate an ABI event
for this kind of perf optimization. I'd much rather start advocating
use of 64-bit kernels in order to enable use of MAX insns.
Until HP 24-bit color gfx PCI cards work on pa2.0, I don't
see a good reason to implement this. Maybe 8-bit color with
a private color map is sufficient...
thanks,
grant
grant
More information about the parisc-linux
mailing list