Thread (4 messages) flat view 4 messages, 3 authors, 2000-01-24

Re: altivec instructions

From: Robert Neugebauer <hidden>
Date: 2000-01-24 22:16:17

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:
quoted
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@escape.ca
Winnipeg, Manitoba, Canada                       http://www.escape.ca/~eek

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help