> The trouble area, and where I need help from either Rainer or Eric,
> is the Solaris2 bits.
>
> I think we need to move the Solaris assembler stuff over to a model
> where it passes:
>
> -m{32,64} -xarch=sparcFOO
>
> instead of using the v8plusX stuff to indicate 32bit. And that's
> the direction I tried to move in here.
The only versions of the Solaris assembler I have access to only support
v8plusX according to the man page. Has that changed recently?
> Could one of you help me get the solaris side correct? I made sure
> that binutils accepts the same options for this stuff, that's why
> I can unconditionally use '-xarch=sparc4' in the configure test.
sparc4 sounds very 1990-ish...
> * config/sparc/sparc.opt (mvis4): New option.
> * config/sparc/sparc-c.c (sparc_target_macros): When TARGET_VIS4,
> define __VIS__ to 0x400.
What's the relationship between VIS4 and SPARC-T4 exactly? The above manual
only speaks of VIS3 as far as I can see. And the CBcond instructions are not
marked as belonging to VIS (3 or 4), so using -mvis4 for them seems strange.
Why not make them depend on -mcpu=niagara4 instead?
--
Eric Botcazou