Home | History | Annotate | Download | only in ppc32

Lines Matching full:vscr

6242 /* Ref: vector insns to test setting CR, VSCR:
6250 //__asm__ __volatile__ ("vpkswss 31,%0,%1" : : "v" (v1), "v" (v2)); // sets VSCR[SAT]
6251 __asm__ __volatile__ ("vsubsbs 31,%0,%1" : : "v" (v1), "v" (v2)); // sets VSCR[SAT]
6262 volatile vector unsigned int vec_in, vec_out, vscr;
6277 // reset VSCR and CR
6278 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6280 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6292 // get CR,VSCR flags
6294 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6308 p_vscr = (unsigned int*)𝓋
6321 volatile vector unsigned int vec_in1, vec_in2, vec_out, vscr;
6338 // reset VSCR and CR
6339 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6341 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6354 // get CR,VSCR flags
6356 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6372 p_vscr = (unsigned int*)𝓋
6387 volatile vector unsigned int vec_in1, vec_in2, vec_in3, vec_out, vscr;
6406 // reset VSCR and CR
6407 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6409 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6423 // get CR,VSCR flags
6425 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6444 p_vscr = (unsigned int*)𝓋
6462 volatile vector unsigned int vec_in1, vec_out, vscr;
6480 // reset VSCR and CR
6481 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6483 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6496 // get CR,VSCR flags
6498 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6515 p_vscr = (unsigned int*)𝓋
6532 volatile vector unsigned int vec_in1, vec_out, vscr;
6553 // reset VSCR and CR
6554 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6556 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6568 // get CR,VSCR flags
6570 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6585 p_vscr = (unsigned int*)𝓋
6602 volatile vector unsigned int vec_out, vscr;
6620 // reset VSCR and CR
6621 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6623 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6632 // get CR,VSCR flags
6634 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6645 p_vscr = (unsigned int*)𝓋
6660 volatile vector unsigned int vec_in1, vec_in2, vec_out, vscr;
6682 // reset VSCR and CR
6683 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6685 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6698 // get CR,VSCR flags
6700 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6718 p_vscr = (unsigned int*)𝓋
6735 volatile vector unsigned int vec_out, vscr;
6755 // reset VSCR and CR
6756 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6758 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6767 // get CR,VSCR flags
6769 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6854 volatile vector unsigned int vec_in, vec_out, vscr;
6875 // reset VSCR and CR
6876 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6878 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6887 // get CR,VSCR flags
6889 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
6938 volatile vector unsigned int vec_in, vec_out, vscr;
6961 // reset VSCR and CR
6962 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
6964 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
6975 // get CR,VSCR flags
6977 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
7019 volatile vector unsigned int vscr;
7042 // reset VSCR and CR
7043 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
7045 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
7057 // get CR,VSCR flags
7059 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
7073 p_vscr = (unsigned int*)𝓋
7087 volatile vector unsigned int vscr;
7104 // reset VSCR and CR
7105 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
7107 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
7120 // get CR,VSCR flags
7122 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
7138 p_vscr = (unsigned int*)𝓋
7154 volatile vector unsigned int vscr;
7173 // reset VSCR and CR
7174 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
7176 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
7190 // get CR,VSCR flags
7192 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
7242 p_vscr = (unsigned int*)𝓋
7260 volatile vector unsigned int vec_in, vec_out, vscr;
7281 // reset VSCR and CR
7282 vscr = (vector unsigned int){ 0,0,0,DEFAULT_VSCR };
7284 __asm__ __volatile__ ("mtvscr %0" : : "v" (vscr) );
7296 // get CR,VSCR flags
7298 __asm__ __volatile__ ("mfvscr %0" : "=vr" (vscr));
7311 p_vscr = (unsigned int*)𝓋