Lines Matching refs:vector
172 lwz r9,VMXowner(r12) ; Grab the owner of the vector
181 cmplw cr5,r9,r2 ; Do we have the live vector context?
182 rlwinm r6,r6,0,MSR_VEC_BIT+1,MSR_VEC_BIT-1 ; Turn off the vector
244 oris r6,r6,hi16(MASK(MSR_VEC)) ; Enable vector
309 ; any float or vector states for the ditched level.
387 lis r2,hi16(MASK(MSR_VEC)) ; Get the vector enable
1075 * mask. VRSAVE is set by the vector user and represents the VRs that they
1076 * say that they are using. The vrvalid mask indicates which vector registers
1104 oris r2,r2,hi16(MASK(MSR_VEC)) ; Enable the vector facility for now also
1136 bne-- vsret ; We do not own the vector, no save required...
1184 lwz r7,VMXsave(r12) ; Get the current vector savearea for the thread
1225 li r4,SAVvector ; Get vector tag
1227 stb r4,SAVflags+2(r3) ; Mark this savearea as a vector
1232 lwz r8,VMXsave(r12) ; Get the current top vector savearea
1254 vsret: mtmsr r0 ; Put interrupts on if they were and vector off
1266 * Entered to handle the vector unavailable exception and
1267 * switch vector context
1271 * Upon exit, the code returns to the users context with the vector
1287 lis r3,hi16(EXT(vec_trap_count)) ; Get address of vector trap counter
1288 ori r3,r3,lo16(EXT(vec_trap_count)) ; Get address of vector trap counter
1299 oris r19,r19,hi16(MASK(MSR_VEC)) ; Enable the vector feature
1300 lwz r22,VMXowner(r26) ; Get the thread that owns the vector
1302 mtmsr r19 ; Enable vector instructions
1323 mr. r22,r22 ; See if there is any live vector status
1449 li r7,SAVvector ; Get the vector ID
1451 stb r7,SAVflags+2(r3) ; Set that we have a vector save area
1472 ; constant that we may need to fill unused vector registers.
1539 li r16,VMXowner ; Displacement to vector owner
1589 oris r8,r8,hi16(MASK(MSR_VEC)) ; Enable the vector facility
1685 stw r11,VMXsave(r22) ; Pop the vector stack
1691 ; This function invalidates any live vector context for the passed in facility_context.
1719 lwz r6,VMXowner(r8) ; Get the thread that owns the vector
1734 li r10,VMXowner ; Displacement to vector owner
1755 ; This function invalidates any live vector context for the passed in facility_context
1777 li r10,VMXowner ; Displacement to vector owner
1810 ; Just some test code to force vector and/or floating point in the kernel
2167 // Load live VRs from a savearea, according to bits set in a passed vector. This is the reverse
2176 // r10 = vector of live regs to load (ie, savevrsave & savevrvalid, may be 0)