[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [f-cpu] loadconsx and stream hints
On Thu, Jan 09, 2003 at 11:47:02AM +0100, devik wrote:
> > >of latest loadconsx (and loadcons.n) so I can add
> > >them to gcc ?
> > >
> >
> > i prefer to stick with the old/original "loadcons[x]" which writes
> > a 16-bit constant to a given part of a register.
>
> so that loadconsx.4 == loadcons.4
loadconsx.3 == loadcons.3 (there is no chunk 4), but only on a 64-bit
machine. Yes that's kinda tricky.
> and loadconsx.0 sign extends the value to 64 bits ?
Or more.
> And loadconsx.1 leaves 16 LSB, sets bit16...31 and
> copies 31 do 31...63 ?
Yep.
> Btw will be partial writes solved whe you do
> loadconsx.0 $0xffff
> loadcons.1 $0
>
> for example ?
They should, yes.
--
Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de>
"All I wanna do is have a little fun before I die"
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu in the body. http://f-cpu.seul.org/