Re: Sparc's windowing

Nand.Mulchandani@Eng.Sun.COM (Nand Mulchandani)
Mon, 20 Apr 1992 17:04:31 GMT

          From comp.compilers

Related articles
Sparc's windowing achim@mips1.info.uqam.ca (1992-04-19)
Re: Sparc's windowing Nand.Mulchandani@Eng.Sun.COM (1992-04-20)
| List of all articles for this month |
Newsgroups: comp.compilers
From: Nand.Mulchandani@Eng.Sun.COM (Nand Mulchandani)
Keywords: sparc, architecture
Organization: Sun Microsystems, Inc.
References: 92-04-082
Date: Mon, 20 Apr 1992 17:04:31 GMT

achim@mips1.info.uqam.ca (Marcel Achim) writes:
|> I'm porting a modula-2 compiler to the sparc and I'm having some
|> difficulties with the Stack pointer, ...


The stack pointer (%sp) must always be doubleword-aligned. When you are
doing things like sub %sp,4,%sp, you are breaking this rule. Although I
don't know the exact problem that you are facing, this could be one of
them. I would also wonder about why you are enlarging the frame using a
"sub" instruction when the "save" instruction does this work for you ?


Hope this helps.


- Nand
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.