Lines Matching refs:vs
121 register struct ppc_vector_state *vs;
370 vs = (struct ppc_vector_state *) tstate; /* Point to destination */
377 vs->save_vrvalid = vsv->save_vrvalid; /* Set the valid flags */
378 if(genuser) for(j=0; j < 4; j++) vs->save_vscr[j] = genuser->save_vscr[j]; /* Set value for vscr */
380 vs->save_vscr[0] = 0; /* Set an initial value if no general user yet */
381 vs->save_vscr[1] = 0;
382 vs->save_vscr[2] = 0;
383 vs->save_vscr[3] = 0x00010000; /* Always start with Java mode off */
387 if(vrvalidwrk & 0x80000000) (vs->save_vr)[i][j] =
389 else vs->save_vr[i][j] = QNaNbarbarian[j]; /* Set invalid value */
397 for(j=0; j < 4; j++) vs->save_vr[i][j] = QNaNbarbarian[j]; /* Initial value */
400 if(genuser) for(j=0; j < 4; j++) vs->save_vscr[j] = genuser->save_vscr[j]; /* Set value for vscr */
402 vs->save_vscr[0] = 0; /* Set an initial value if no general user yet */
403 vs->save_vscr[1] = 0;
404 vs->save_vscr[2] = 0;
405 vs->save_vscr[3] = 0x00010000; /* Always start with Java mode off */
407 vs->save_vrvalid = 0; /* Clear the valid flags */
410 for (i=0; i < 4; i++) vs->save_pad5[i] = 0; /* Clear cruft */
411 for (i=0; i < 7; i++) vs->save_pad6[i] = 0; /* Clear cruft */
679 register struct ppc_vector_state *vs;
945 vs = (struct ppc_vector_state *) tstate; /* Point to source */
947 bcopy((char *)vs, (char *)&vsv->save_vr0, 32*16); /* 32 registers plus status and validity and pad */
948 vsv->save_vrvalid = vs->save_vrvalid; /* Set validity bits */
951 for(i = 0; i < 4; i++) genuser->save_vscr[i] = vs->save_vscr[i]; /* Set value for vscr */