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

Re: [f-cpu] New EU_SHL Instruction



On Thu, Jan 09, 2003 at 01:59:11AM +0100, Yann Guidon wrote:
[...]
> >I do not remember an `sdup' instruction that uses three operands, nor
> >did I implement one. That would have been another logical extension;
> >but I guess that vperm is more useful. BTW: if you're satisfied with
> >an immediate operand, `svseli $n, r2, r1' will do what you want
> >(duplicate chunk <n> of r2).
> >  
> >
> it's not doing sdup completely. The 3rd register operand is useful to 
> avoid a shift
> in front of a "bare" sdup :
> sdup  r1, r2, r3
> replaces
> shiftr r1*8, r2, r2
> sdup r2, r3

Implemented, with both register and immediate operand.
`vsel' is now a superset of `sdup'. Satisfied?

-- 
 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/