Subject: CVS commit: src/gnu/dist/gcc4/gcc
To: None <source-changes@NetBSD.org>
From: Nick Hudson <skrll@netbsd.org>
List: source-changes
Date: 09/22/2006 13:11:57
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.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/gnu/dist/gcc4/gcc/config.gcc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.