Oz and Mozart Hackers Mailing List

Re: good news from the inline-opcode-map branch


From: duchier@ps.uni-sb.de
Date: Wed Dec 03 2003 - 12:37:51 CET


Hi Kevin,

Thanks for the info.

> I tried this out for sparc and got this:
>
> fred:
> !#PROLOGUE# 0
> save %sp, -120, %sp
> !#PROLOGUE# 1

Actually, the above (as it says) is the function prologue. The
interesting bit is:

> .LL3:
> sethi %hi(.LL3), %o1
> or %o1, %lo(.LL3), %o0
> st %o0, [%fp-20]

This seems to confirm my intuition that the label can be loaded with:

                    asm("set .LL3,%0", "=m" (ptr))

I'll add support for this on the branch and ask you to test it.

Cheers,

-- 
Denys Duchier - Équipe Calligramme - LORIA, Nancy, France
-
Please send submissions to hackers@mozart-oz.org
and administriva mail to hackers-request@mozart-oz.org.
The Mozart Oz web site is at http://www.mozart-oz.org/.



This archive was generated by hypermail 2b29.