*/
-#include <cpus.h>
#include <ppc/asm.h>
#include <ppc/proc_reg.h>
#include <ppc/exception.h>
LEXT(AltivecAssist)
- mfmsr r20 ; Get the current MSR
li r10,emvr0 ; Point to the vector savearea
- oris r20,r20,hi16(MASK(MSR_VEC)) ; Turn on vector
- mtmsr r20 ; Turn on vector
- isync
li r11,emvr1 ; Another savearea
stvxl v0,r10,r2 ; Save V0