altivec instructions

Robert Neugebauer rneugeba at undergrad.math.uwaterloo.ca
Tue Jan 25 09:16:17 EST 2000


Wouldn't the 2.2 kernel patches for altivec instructions handle that. I
don't know if they were supported, but they worked on my G4 and haven't
caused any instability. I had found them somewhere on devel.linuxppc.org.

I can send them too you if you need.

Bob


On Mon, 24 Jan 2000, Tony Mantler wrote:

>
> At 12:52 PM -0600 1/24/00, Jim Terman wrote:
> >We are trying to run a program that contains altivec instructions on a G4,
> >but the process keeps crashing (gdb will actually cause a kernal panic).
> >It looks like a bit in the MSR needs to be set.  What would be the best
> >way to modify the kernel to let this happen?
>
> Before you enable the MSR bit, you'll have to write altivec register saving
> code for your kernel, the strategies for which were discussed a while back
> on this mailing list, and should be available for your reading convinience
> on the mailing list archive.
>
> Following that, you'll have to check to be sure your code properly uses the
> VRSAVE register, to avoid forward compatibility problems.
>
>
> Once that's all done, your code should run just fine.
>
>
> Cheers - Tony :)
>
>
> --
> Tony Mantler         Renaissance Nerd Extraordinaire         eek at escape.ca
> Winnipeg, Manitoba, Canada                       http://www.escape.ca/~eek
>
>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list