Re: [cc65] Own parameter call stack?

From: Per Olofsson <magervalp1gmail.com>
Date: 2009-09-01 15:32:26
On Tue, Sep 1, 2009 at 3:30 PM, Groepaz<groepaz@gmx.net> wrote:
> On Dienstag 01 September 2009, Per Olofsson wrote:
>> On Tue, Sep 1, 2009 at 3:04 PM, Christian
>>
>> Krüger<Christian.Krueger@pace.de> wrote:
>> >>can't see how that would help... it would still be a software stack,
>> >
>> > yes, but the high byte handling could be dropped...
>>
>> Does the compiler need to know about that? I mean, can't you just
>> rewrite runtime/*.s to remove high byte handling, and link against
>> that?
>
> afaik the compiler knows about certain things/functions in that respect so it
> can emit better code in some cases.

OK, so that would give you further gains, but if X is simply a "don't
care" as far as the stack functions go, there should be no harm.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Sep 1 15:32:38 2009

This archive was generated by hypermail 2.1.8 : 2009-09-01 15:32:40 CEST