[SunRescue] help a guy run 2.6 on his 670MP
James Lockwood
rescue at sunhelp.org
Wed May 16 15:38:12 CDT 2001
On Wed, 16 May 2001, Dave McGuire 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.
-James
More information about the rescue
mailing list