Lines Matching defs:vA
293 unsigned vA:5;
300 emit_vx(struct ppc_function *p, uint op2, uint vD, uint vA, uint vB,
306 inst.inst.vA = vA;
313 printf(format, vD, vB, vA);
315 printf(format, vD, vA, vB);
325 unsigned vA:5;
333 emit_vxr(struct ppc_function *p, uint op2, uint vD, uint vA, uint vB,
339 inst.inst.vA = vA;
346 printf(format, vD, vA, vB);
356 unsigned vA:5;
364 emit_va(struct ppc_function *p, uint op2, uint vD, uint vA, uint vB, uint vC,
370 inst.inst.vA = vA;
377 printf(format, vD, vA, vB, vC);
587 ppc_vaddfp(struct ppc_function *p, uint vD, uint vA, uint vB)
589 emit_vx(p, 10, vD, vA, vB, "vaddfp\t%u, v%u, v%u\n", FALSE);
594 ppc_vsubfp(struct ppc_function *p, uint vD, uint vA, uint vB)
596 emit_vx(p, 74, vD, vA, vB, "vsubfp\tv%u, v%u, v%u\n", FALSE);
601 ppc_vminfp(struct ppc_function *p, uint vD, uint vA, uint vB)
603 emit_vx(p, 1098, vD, vA, vB, "vminfp\tv%u, v%u, v%u\n", FALSE);
608 ppc_vmaxfp(struct ppc_function *p, uint vD, uint vA, uint vB)
610 emit_vx(p, 1034, vD, vA, vB, "vmaxfp\tv%u, v%u, v%u\n", FALSE);
613 /** vector float mult add: vD = vA * vB + vC */
615 ppc_vmaddfp(struct ppc_function *p, uint vD, uint vA, uint vB, uint vC)
618 emit_va(p, 46, vD, vA, vC, vB, "vmaddfp\tv%u, v%u, v%u, v%u\n");
621 /** vector float negative mult subtract: vD = vA - vB * vC */
623 ppc_vnmsubfp(struct ppc_function *p, uint vD, uint vA, uint vB, uint vC)
626 emit_va(p, 47, vD, vB, vA, vC, "vnmsubfp\tv%u, v%u, v%u, v%u\n");
631 ppc_vcmpgtfpx(struct ppc_function *p, uint vD, uint vA, uint vB)
633 emit_vxr(p, 710, vD, vA, vB, "vcmpgtfpx\tv%u, v%u, v%u");
638 ppc_vcmpgefpx(struct ppc_function *p, uint vD, uint vA, uint vB)
640 emit_vxr(p, 454, vD, vA, vB, "vcmpgefpx\tv%u, v%u, v%u");
645 ppc_vcmpeqfpx(struct ppc_function *p, uint vD, uint vA, uint vB)
647 emit_vxr(p, 198, vD, vA, vB, "vcmpeqfpx\tv%u, v%u, v%u");
736 ppc_vand(struct ppc_function *p, uint vD, uint vA, uint vB)
738 emit_vx(p, 1028, vD, vA, vB, "vand\tv%u, v%u, v%u\n", FALSE);
743 ppc_vandc(struct ppc_function *p, uint vD, uint vA, uint vB)
745 emit_vx(p, 1092, vD, vA, vB, "vandc\tv%u, v%u, v%u\n", FALSE);
750 ppc_vor(struct ppc_function *p, uint vD, uint vA, uint vB)
752 emit_vx(p, 1156, vD, vA
757 ppc_vnor(struct ppc_function *p, uint vD, uint vA, uint vB)
759 emit_vx(p, 1284, vD, vA, vB, "vnor\tv%u, v%u, v%u\n", FALSE);
764 ppc_vxor(struct ppc_function *p, uint vD, uint vA, uint vB)
766 emit_vx(p, 1220, vD, vA, vB, "vxor\tv%u, v%u, v%u\n", FALSE);
771 ppc_vmove(struct ppc_function *p, uint vD, uint vA)
775 ppc_vor(p, vD, vA, vA);
778 printf("vor\tv%u, v%u, v%u \t# v%u = v%u\n", vD, vA, vA, vD, vA);
806 ppc_vperm(struct ppc_function *p, uint vD, uint vA, uint vB, uint vC)
808 emit_va(p, 43, vD, vA, vB, vC, "vperm\tr%u, r%u, r%u, r%u");
813 ppc_vsel(struct ppc_function *p, uint vD, uint vA, uint vB, uint vC)
815 emit_va(p, 42, vD, vA, vB, vC, "vsel\tr%u, r%u, r%u, r%u");
848 /** vector shift left word: vD[word] = vA[word] << (vB[word] & 0x1f) */
850 ppc_vslw(struct ppc_function *p, uint vD, uint vA, uint vB)
852 emit_vx(p, 388, vD, vA, vB, "vslw\tv%u, v%u, v%u\n", FALSE);