Sparc v8plus ABI?

Sparc v8plus ABI?

Post by Raymond To » Fri, 21 Mar 2003 01:15:49



There used to be a document on Sun's website that described the Sparc
v8plus ABI.  This allowed the use of some 64-bit regs and some v9
instructions.  

However, the link I used to have is broken, and I can no longer find
any info about the v8plus ABI.

I'm mostly interested in figuring out what it used to say, and how it
changes the sigcontext and what 64-bit registers are preserved on a
context switch.  (I think it was only the %o regs since the register
save area on the stack is only for 32-bit registers.)

Thanks,

Ray

 
 
 

Sparc v8plus ABI?

Post by Casper H.S. Di » Fri, 21 Mar 2003 01:54:29



>I'm mostly interested in figuring out what it used to say, and how it
>changes the sigcontext and what 64-bit registers are preserved on a
>context switch.  (I think it was only the %o regs since the register
>save area on the stack is only for 32-bit registers.)

%o and %g are saved as those are saved in the kernel context
structure and not on the stack.

Avoid %l and %i with 64 bit instructions.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

 
 
 

Sparc v8plus ABI?

Post by Raymond To » Fri, 21 Mar 2003 02:28:10



    >> I'm mostly interested in figuring out what it used to say, and how it
    >> changes the sigcontext and what 64-bit registers are preserved on a
    >> context switch.  (I think it was only the %o regs since the register
    >> save area on the stack is only for 32-bit registers.)

    Casper> %o and %g are saved as those are saved in the kernel context
    Casper> structure and not on the stack.

So the sigcontext will have these 64-bit values?  Tried looking
through the header files briefly but didn't notice 64-bit lengths for
these.

    Casper> Avoid %l and %i with 64 bit instructions.

Thanks for the info.

Some additional questions.  Are the extra FP registers available?
Which v9 instructions are actually allowed?

A pointer to a document would be helpful so I don't have to keep
asking....

But your help is most appreciated!

Ray

 
 
 

1. Sparc ABI needed

To implement a compiler backend I need the Application Binary Interface
definition for the sparc processor. It would be best if I could download
it from the web.

At www.sparc.com I found a reference stating that the text is provided for
ftp at ftp.sparc.com, but it wasn't.

Thanks for your help,

Fridtjof Sieber.t

2. password migrating to new machine

3. SPARC V9 ABI

4. question re dhclient

5. Difference between Sparc 2, Sparc 10 and Ultra Sparc 10

6. VIA KX133 MoBo's and Linux ?

7. Sparc 5 vs Sparc 10 vs Sparc 20

8. promise fasttrack66 suse 7.0

9. ABI and libiberty

10. ABI problem

11. tdfx error -- module ABI

12. Urgent: Info on binary compatibility (ABI & BCS)

13. ABI?