[SunRescue] help a guy run 2.6 on his 670MP

Dave McGuire rescue at sunhelp.org
Wed May 16 15:55:43 CDT 2001


On May 16, Gregory Leblanc wrote:
> > >   It's what MMX should have been.  It's very impressive.  I still
> > 
> > Right.  One of my favorite things about VIS is how flexible it is.  You
> > can do cool things like using fpmerge to double 8-bit data:
> > 
> >         membar  #StoreLoad
> >         ldda    [%o0]0xF0,%f0
> >         fpmerge %f0,%f0,%f16
> >         fpmerge %f1,%f1,%f18
> >         fpmerge %f2,%f2,%f20
> >         fpmerge %f3,%f3,%f22
> >         fpmerge %f4,%f4,%f24
> >         fpmerge %f5,%f5,%f26
> >         fpmerge %f6,%f6,%f28
> >         fpmerge %f7,%f7,%f30
> >         stda    %f16,[%o1]0xF0
> >         membar  #StoreLoad
> > 
> > Naturally you'd want to overlap your ldda/stda's and unroll a loop around
> > this to keep the memory bus flowing at the same time as the FP units.
> 
> Out of curiosity, is this completely opaque to anybody else?  :)

  It's just assembler, man.  It ain't gonna bite you. ;)

    -Dave McGuire



More information about the rescue mailing list