[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Missing clobbered register in gemlib



2009/12/19 Vincent Rivière <vincent.riviere@freesbee.fr>:
> Henk Robbers a wrote:
>>>
>>> I think it would be a good idea to make the clobber list A0-A2, D0-D2.
>>
>> It is really a must. I speak from nose hurting experience.
>
> I'm really annoyed we don't have a small testcase showing that additional
> registers can be clobbered. For example, I have made some tests recently
> with the GEMDOS trap #1 on TOS 1.62, it never clobbers d2 and a2, they are
> backuped explicitly in the ROM.
>
very interesting. So maybe the clobber mentioned by Rodger from Atari
is for >2.06, presuming previous <=1.62 are consistent

a set of test would be the way to confirm this also

> Other thing, we should not consider "the traps" as a whole. Each trap could
> have its own clobber list.
>
are there any percieved problems with other current clobber lists

> Anyway, since the official rule seems to be that d0-d2/a0-a2 can be
> clobbered, I'm going to provide a full patch for the GemLib. We have seen
> the inline versions, there are non-inline ones, too.
>
Are these (non-inline) also just a matter of adding extra data?

The patch will be appreciated.

It is a wounder that other problems have not shown up with other
software development that are related to this.

Paul