Subject: Re: CVS commit: src/gnu/dist/gcc4/gcc
To: None <source-changes@netbsd.org>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: source-changes
Date: 09/23/2006 18:27:57
On Friday 22 September 2006 14:11, Nick Hudson wrote:
> Module Name: src
> Committed By: skrll
> Date: Fri Sep 22 13:11:57 UTC 2006
>
> Modified Files:
> src/gnu/dist/gcc4/gcc: config.gcc
>
> Log Message:
> Our userland space register convention isn't as flat as it needs to be
> for MASK_NO_SPACE_REGS. The assumption is that sr4-sr7 == process space
> id, but we have sr7 = kernel space id (0). This was inherited from
> OpenBSD.
>
> If sr4-sr7 == process space id, then
>
> ldw %r1(,%r2),%r3
> and
> ldw %r2(,%r1),%r3
>
> are equivlent for all values of %r1 and %r2.
>
> If the right compat stuff is in place we can change the space register
> convention and turn MASK_NO_SPACE_REGS back on.
Log message has been changed to include the fact that this is on hppa.
Pointed out by perry@ in private mail.
Nick