/external/valgrind/none/tests/ppc64/ |
D | test_isa_2_07_part1.c | 184 static vector unsigned long long vec_out, vec_inA, vec_inB, vec_inC; variable 398 __asm__ __volatile__ ("mtvsrd %x0,%1" : "=ws" (vec_out) : "r" (r14)); in test_mtvsrd() 403 __asm__ __volatile__ ("mtvsrwz %x0,%1" : "=ws" (vec_out) : "r" (r14)); in test_mtvsrwz() 409 __asm__ __volatile__ ("mtfprwa %x0,%1" : "=ws" (vec_out) : "r" (r14)); in test_mtfprwa() 428 __asm__ __volatile__ ("vpkudum %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vpkudum() 433 __asm__ __volatile__ ("vaddudm %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vaddudm() 438 __asm__ __volatile__ ("vsubudm %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vsubudm() 443 __asm__ __volatile__ ("vmaxud %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vmaxud() 448 __asm__ __volatile__ ("vmaxsd %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vmaxsd() 453 __asm__ __volatile__ ("vminud %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vminud() [all …]
|
D | test_isa_2_06_part2.c | 572 static vector unsigned int vec_out, vec_inA, vec_inB, vec_inC; variable 578 …__asm__ __volatile__ ("xvcmpeqdp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpeqdp() 580 …__asm__ __volatile__ ("xvcmpeqdp %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xvcmpeqdp() 586 …__asm__ __volatile__ ("xvcmpgedp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpgedp() 588 …__asm__ __volatile__ ("xvcmpgedp %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xvcmpgedp() 594 …__asm__ __volatile__ ("xvcmpgtdp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpgtdp() 596 …__asm__ __volatile__ ("xvcmpgtdp %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xvcmpgtdp() 602 …__asm__ __volatile__ ("xvcmpeqsp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpeqsp() 604 …__asm__ __volatile__ ("xvcmpeqsp %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xvcmpeqsp() 610 …__asm__ __volatile__ ("xvcmpgesp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpgesp() [all …]
|
D | test_isa_2_06_part3.c | 420 static vector unsigned int vec_out, vec_inA, vec_inB; variable 464 dst_dp = (unsigned long long *) &vec_out; in check_estimate() 472 dst_sp = (unsigned int *) &vec_out; in check_estimate() 579 __asm__ __volatile__ ("xvredp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvredp() 584 __asm__ __volatile__ ("xsredp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xsredp() 589 __asm__ __volatile__ ("xvrsqrtedp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvrsqrtedp() 594 __asm__ __volatile__ ("xsrsqrtedp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xsrsqrtedp() 599 __asm__ __volatile__ ("xvrsqrtesp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvrsqrtesp() 619 __asm__ __volatile__ ("xvsqrtdp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvsqrtdp() 624 __asm__ __volatile__ ("xvsqrtsp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvsqrtsp() [all …]
|
D | test_isa_2_06_part1.c | 1087 static vector unsigned int vec_out, vec_inA, vec_inB; variable 1091 __asm__ __volatile__ ("lxsdx %x0, %1, %2" : "=wa" (vec_out): "b" (r14),"r" (r15)); in test_lxsdx() 1097 __asm__ __volatile__ ("lxvd2x %x0, %1, %2" : "=wa" (vec_out): "b" (r14),"r" (r15)); in test_lxvd2x() 1102 __asm__ __volatile__ ("lxvdsx %x0, %1, %2" : "=wa" (vec_out): "b" (r14),"r" (r15)); in test_lxvdsx() 1107 __asm__ __volatile__ ("lxvw4x %x0, %1, %2" : "=wa" (vec_out): "b" (r14),"r" (r15)); in test_lxvw4x() 1127 …__asm__ __volatile__ ("xxlxor %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec_… in test_xxlxor() 1132 …__asm__ __volatile__ ("xxlor %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec_i… in test_xxlor() 1137 …__asm__ __volatile__ ("xxlnor %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec_… in test_xxlnor() 1142 …__asm__ __volatile__ ("xxland %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec_… in test_xxland() 1147 …__asm__ __volatile__ ("xxlandc %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec… in test_xxlandc() [all …]
|
D | test_isa_2_07_part2.c | 467 static vector unsigned int vec_out, vec_inA, vec_inB; variable 471 __asm__ __volatile__ ("xscvdpspn %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xscvdpspn() 476 __asm__ __volatile__ ("xscvspdpn %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xscvspdpn() 483 …__asm__ __volatile__ ("xsmaddasp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xsmadds() 485 …__asm__ __volatile__ ("xsmaddmsp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xsmadds() 491 …__asm__ __volatile__ ("xsmsubasp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xsmsubs() 493 …__asm__ __volatile__ ("xsmsubmsp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xsmsubs() 498 __asm__ __volatile__ ("xscvsxdsp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xscvsxdsp() 503 __asm__ __volatile__ ("xscvuxdsp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xscvuxdsp() 509 …__asm__ __volatile__ ("xsnmaddasp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (ve… in test_xsnmadds() [all …]
|
D | jm-insns.c | 6262 volatile vector unsigned int vec_in, vec_out, vscr; in test_av_int_one_arg() local 6275 vec_out = (vector unsigned int){ 0,0,0,0 }; in test_av_int_one_arg() 6290 __asm__ __volatile__ ("vor %0,17,17" : "=vr" (vec_out)); in test_av_int_one_arg() 6301 dst = (unsigned int*)&vec_out; in test_av_int_one_arg() 6321 volatile vector unsigned int vec_in1, vec_in2, vec_out, vscr; in test_av_int_two_args() local 6332 vec_out = (vector unsigned int){ 0,0,0,0 }; in test_av_int_two_args() 6352 __asm__ __volatile__ ("vor %0,17,17" : "=vr" (vec_out)); in test_av_int_two_args() 6364 dst = (unsigned int*)&vec_out; in test_av_int_two_args() 6387 volatile vector unsigned int vec_in1, vec_in2, vec_in3, vec_out, vscr; in test_av_int_three_args() local 6400 vec_out = (vector unsigned int){ 0,0,0,0 }; in test_av_int_three_args() [all …]
|
/external/valgrind/none/tests/ppc32/ |
D | test_isa_2_07_part1.c | 184 static vector unsigned long long vec_out, vec_inA, vec_inB, vec_inC; variable 398 __asm__ __volatile__ ("mtvsrd %x0,%1" : "=ws" (vec_out) : "r" (r14)); in test_mtvsrd() 403 __asm__ __volatile__ ("mtvsrwz %x0,%1" : "=ws" (vec_out) : "r" (r14)); in test_mtvsrwz() 409 __asm__ __volatile__ ("mtfprwa %x0,%1" : "=ws" (vec_out) : "r" (r14)); in test_mtfprwa() 428 __asm__ __volatile__ ("vpkudum %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vpkudum() 433 __asm__ __volatile__ ("vaddudm %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vaddudm() 438 __asm__ __volatile__ ("vsubudm %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vsubudm() 443 __asm__ __volatile__ ("vmaxud %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vmaxud() 448 __asm__ __volatile__ ("vmaxsd %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vmaxsd() 453 __asm__ __volatile__ ("vminud %0, %1, %2" : "=v" (vec_out): "v" (vec_inA),"v" (vec_inB)); in test_vminud() [all …]
|
D | test_isa_2_06_part2.c | 572 static vector unsigned int vec_out, vec_inA, vec_inB, vec_inC; variable 578 …__asm__ __volatile__ ("xvcmpeqdp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpeqdp() 580 …__asm__ __volatile__ ("xvcmpeqdp %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xvcmpeqdp() 586 …__asm__ __volatile__ ("xvcmpgedp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpgedp() 588 …__asm__ __volatile__ ("xvcmpgedp %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xvcmpgedp() 594 …__asm__ __volatile__ ("xvcmpgtdp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpgtdp() 596 …__asm__ __volatile__ ("xvcmpgtdp %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xvcmpgtdp() 602 …__asm__ __volatile__ ("xvcmpeqsp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpeqsp() 604 …__asm__ __volatile__ ("xvcmpeqsp %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xvcmpeqsp() 610 …__asm__ __volatile__ ("xvcmpgesp. %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (… in test_xvcmpgesp() [all …]
|
D | test_isa_2_06_part3.c | 420 static vector unsigned int vec_out, vec_inA, vec_inB; variable 464 dst_dp = (unsigned long long *) &vec_out; in check_estimate() 472 dst_sp = (unsigned int *) &vec_out; in check_estimate() 579 __asm__ __volatile__ ("xvredp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvredp() 584 __asm__ __volatile__ ("xsredp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xsredp() 589 __asm__ __volatile__ ("xvrsqrtedp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvrsqrtedp() 594 __asm__ __volatile__ ("xsrsqrtedp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xsrsqrtedp() 599 __asm__ __volatile__ ("xvrsqrtesp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvrsqrtesp() 619 __asm__ __volatile__ ("xvsqrtdp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvsqrtdp() 624 __asm__ __volatile__ ("xvsqrtsp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xvsqrtsp() [all …]
|
D | test_isa_2_06_part1.c | 1087 static vector unsigned int vec_out, vec_inA, vec_inB; variable 1091 __asm__ __volatile__ ("lxsdx %x0, %1, %2" : "=wa" (vec_out): "b" (r14),"r" (r15)); in test_lxsdx() 1097 __asm__ __volatile__ ("lxvd2x %x0, %1, %2" : "=wa" (vec_out): "b" (r14),"r" (r15)); in test_lxvd2x() 1102 __asm__ __volatile__ ("lxvdsx %x0, %1, %2" : "=wa" (vec_out): "b" (r14),"r" (r15)); in test_lxvdsx() 1107 __asm__ __volatile__ ("lxvw4x %x0, %1, %2" : "=wa" (vec_out): "b" (r14),"r" (r15)); in test_lxvw4x() 1127 …__asm__ __volatile__ ("xxlxor %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec_… in test_xxlxor() 1132 …__asm__ __volatile__ ("xxlor %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec_i… in test_xxlor() 1137 …__asm__ __volatile__ ("xxlnor %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec_… in test_xxlnor() 1142 …__asm__ __volatile__ ("xxland %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec_… in test_xxland() 1147 …__asm__ __volatile__ ("xxlandc %x0, %x1, %x2" : "=wa" (vec_out): "wa" (vec_inA),"wa" (vec… in test_xxlandc() [all …]
|
D | test_isa_2_07_part2.c | 467 static vector unsigned int vec_out, vec_inA, vec_inB; variable 471 __asm__ __volatile__ ("xscvdpspn %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xscvdpspn() 476 __asm__ __volatile__ ("xscvspdpn %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xscvspdpn() 483 …__asm__ __volatile__ ("xsmaddasp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xsmadds() 485 …__asm__ __volatile__ ("xsmaddmsp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xsmadds() 491 …__asm__ __volatile__ ("xsmsubasp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xsmsubs() 493 …__asm__ __volatile__ ("xsmsubmsp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (v… in test_xsmsubs() 498 __asm__ __volatile__ ("xscvsxdsp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xscvsxdsp() 503 __asm__ __volatile__ ("xscvuxdsp %x0, %x1" : "=wa" (vec_out): "wa" (vec_inB)); in test_xscvuxdsp() 509 …__asm__ __volatile__ ("xsnmaddasp %x0, %x1, %x2" : "+wa" (vec_out): "wa" (vec_inA),"wa" (ve… in test_xsnmadds() [all …]
|
D | jm-insns.c | 6262 volatile vector unsigned int vec_in, vec_out, vscr; in test_av_int_one_arg() local 6275 vec_out = (vector unsigned int){ 0,0,0,0 }; in test_av_int_one_arg() 6290 __asm__ __volatile__ ("vor %0,17,17" : "=vr" (vec_out)); in test_av_int_one_arg() 6301 dst = (unsigned int*)&vec_out; in test_av_int_one_arg() 6321 volatile vector unsigned int vec_in1, vec_in2, vec_out, vscr; in test_av_int_two_args() local 6332 vec_out = (vector unsigned int){ 0,0,0,0 }; in test_av_int_two_args() 6352 __asm__ __volatile__ ("vor %0,17,17" : "=vr" (vec_out)); in test_av_int_two_args() 6364 dst = (unsigned int*)&vec_out; in test_av_int_two_args() 6387 volatile vector unsigned int vec_in1, vec_in2, vec_in3, vec_out, vscr; in test_av_int_three_args() local 6400 vec_out = (vector unsigned int){ 0,0,0,0 }; in test_av_int_three_args() [all …]
|