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

Re: [f-cpu] reg. rotation [Was: New suggestion about call convention]



hi,

> cedric wrote:
> >dmove syntax will be more like this (if it exist) :
> >	dmove r2, r1
> >the behaviour will be :
> >	r1 = r2
> >	r1^1 = r2^1
> >But I don't know if it will possible to implement it, but it's a good idea
> > I think.

> i don't think so (TM)

Are you sure ? I was thinking that we currently need a mecanism to read r1 and 
r1^1 and to write r2 and r2^2 at the same cycle, if we implement all the 
instruction specified in the manual. I don't see where will be the overhead 
in hardware, but I think it can be usefull for a lot of code. So why not ? (A 
more precise answer will be appreciate ;-)

	Cedric

*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu       in the body. http://f-cpu.seul.org/