This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PA specifies invalid T_ADAFLAGS
- From: law at redhat dot com
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: dave at hiauly1 dot hia dot nrc dot ca, gcc at gcc dot gnu dot org
- Date: Fri, 26 Apr 2002 11:20:30 -0600
- Subject: Re: PA specifies invalid T_ADAFLAGS
- Reply-to: law at redhat dot com
In message <10204251034.AA10713@vlsi1.ultra.nyu.edu>, Richard Kenner writes:
> Again, the -mdisable-indexing was not working around a *bug* but a
> fundamental problem in the PA architecture preventing virtual origins
> from working if they are used.
>
> Unless *all 8* SR's are set to consecutive memory segments, it isn't safe
> to use the indexing forms.
More correctly, sr4-sr7 need to be set to the _same_ memory segment.
Some systems do this (Utah's BSD & OSF ports for example) and there were
some PAs without space registers (level 0 implementations, not to be confused
with PA1.0).
On systems where sr4-sr4 hit the same segment or on level 0 implementations
indexing can be done without considering the implicit space register selection
problems.
jeff