Thread (18 messages) 18 messages, 9 authors, 1999-10-30

Re: question about altivec registers

From: Kumar Gala <hidden>
Date: 1999-10-26 04:42:38

The linux kernel as is will not effect the AltiVec registers in any way.
However, there is a minor change to the kernel that will be required.  You
will need to enable the MSR VEC bit (bit 6 in the MSR) to tell the
processor that the AltiVec Unit is available (this is similar to the MSR
FP bit).  If the bit is not set the processor will generate an AltIVec
Unavailable exception which will be trapped (incorrectly) as an unknown
0xf00 exception

the 0xf00 exception is for the performance monitors
and 0xf20 in the AltiVec unavailable exception.

All if these details are documented in the AltiVec Programming Environ
Manual (available from the Motorola Website).  

If you need any help getting a simple kernel up and running for running
single altiVec enabled processes let me know.

- kumar gala


ignorance is bliss.


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