question about altivec registers
kumar at chaos.ph.utexas.edu
Tue Oct 26 14:42:38 EST 1999
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
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/
More information about the Linuxppc-dev