Home | History | Annotate | Download | only in dsp

Lines Matching defs:temp0

50 // dpa.w.ph $ac0 temp0 ,temp1
51 // $ac += temp0[31..16] * temp1[31..16] + temp0[15..0] * temp1[15..0]
52 // dpax.w.ph $ac0 temp0 ,temp1
53 // $ac += temp0[31..16] * temp1[15..0] + temp0[15..0] * temp1[31..16]
76 // temp0..temp15 holds tmp[0]..tmp[15]
78 // TEMP0..TEMP3 - registers for corresponding tmp elements
79 #define HORIZONTAL_PASS(A, TEMP0, TEMP1, TEMP2, TEMP3) \
80 "lw %[" #TEMP0 "], 0(%[args]) \n\t" \
82 "lw %[" #TEMP2 "], " XSTR(BPS) "*" #A "(%[" #TEMP0 "]) \n\t" \
84 "preceu.ph.qbl %[" #TEMP0 "], %[" #TEMP2 "] \n\t" \
88 "subq.ph %[" #TEMP0 "], %[" #TEMP0 "], %[" #TEMP1 "] \n\t" \
90 "rotr %[" #TEMP0 "], %[" #TEMP0 "], 16 \n\t" \
91 "addq.ph %[" #TEMP1 "], %[" #TEMP2 "], %[" #TEMP0 "] \n\t" \
92 "subq.ph %[" #TEMP3 "], %[" #TEMP2 "], %[" #TEMP0 "] \n\t" \
93 "seh %[" #TEMP0 "], %[" #TEMP1 "] \n\t" \
97 "subu %[" #TEMP2 "], %[" #TEMP0 "], %[temp16] \n\t" \
98 "addu %[" #TEMP0 "], %[" #TEMP0 "], %[temp16] \n\t" \
104 "sll %[" #TEMP0 "], %[" #TEMP0 "], 3 \n\t" \
113 // temp0..temp15 holds tmp[0]..tmp[15]
115 // TEMP0, TEMP4, TEMP8 and TEMP12 - registers for corresponding tmp elements
116 #define VERTICAL_PASS(A, B, C, D, TEMP0, TEMP4, TEMP8, TEMP12) \
117 "addu %[temp16], %[" #TEMP0 "], %[" #TEMP12 "] \n\t" \
118 "subu %[temp19], %[" #TEMP0 "], %[" #TEMP12 "] \n\t" \
126 "addu %[" #TEMP0 "], %[temp16], %[temp17] \n\t" \
127 "sra %[" #TEMP0 "], %[" #TEMP0 "], 4 \n\t" \
139 "sh %[" #TEMP0 "], " #A "(%[temp20]) \n\t" \
147 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7, temp8;
154 HORIZONTAL_PASS(0, temp0, temp1, temp2, temp3)
159 VERTICAL_PASS(0, 8, 16, 24, temp0, temp4, temp8, temp12)
164 [temp0]"=&r"(temp0), [temp19]"=&r"(temp19), [temp20]"=&r"(temp20)
402 "preceu.ph.qbl %[temp2], %[temp0] \n\t" \
403 "preceu.ph.qbr %[temp0], %[temp0] \n\t" \
407 "addu.ph %[temp0], %[temp0], %[leftY_1] \n\t" \
411 "shll_s.ph %[temp0], %[temp0], 7 \n\t" \
414 "precrqu_s.qb.ph %[temp0], %[temp2], %[temp0] \n\t" \
419 int temp0, temp1, temp2, temp3; \
422 "ulw %[temp0], 0(%[top]) \n\t" \
426 "usw %[temp0], 0(%[dst]) \n\t" \
429 "ulw %[temp0], 8(%[top]) \n\t" \
432 "usw %[temp0], 8(%[dst]) \n\t" \
435 : [leftY_1]"+&r"(leftY_1), [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), \
484 int temp0, temp1, temp2, temp3;
488 LOAD_WITH_OFFSET_X4(temp0, temp1, temp2, temp3, top,
492 "raddu.w.qb %[temp0], %[temp0] \n\t"
496 "addu %[temp0], %[temp0], %[temp1] \n\t"
498 "addu %[DC], %[temp0], %[temp2] \n\t"
501 LOAD_WITH_OFFSET_X4(temp0, temp1, temp2, temp3, left,
505 "raddu.w.qb %[temp0], %[temp0] \n\t"
509 "addu %[temp0], %[temp0], %[temp1] \n\t"
511 "addu %[DC1], %[temp0], %[temp2] \n\t"
517 LOAD_WITH_OFFSET_X4(temp0, temp1, temp2, temp3, left,
521 "raddu.w.qb %[temp0], %[temp0] \n\t"
525 "addu %[temp0], %[temp0], %[temp1] \n\t"
527 "addu %[DC], %[temp0], %[temp2] \n\t"
535 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [DC]"=&r"(DC),
547 int temp0, temp1, temp2, temp3;
551 "ulw %[temp0], 0(%[top]) \n\t"
553 "raddu.w.qb %[temp0], %[temp0] \n\t"
555 "addu %[DC], %[temp0], %[temp1] \n\t"
580 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [DC]"=&r"(DC),
590 int temp0, temp1;
592 "ulw %[temp0], 0(%[top]) \n\t"
594 "raddu.w.qb %[temp0], %[temp0
596 "addu %[temp0], %[temp0], %[temp1] \n\t"
597 "addiu %[temp0], %[temp0], 4 \n\t"
598 "srl %[temp0], %[temp0], 3 \n\t"
599 "replv.qb %[temp0], %[temp0] \n\t"
600 "usw %[temp0], 0*" XSTR(BPS) "(%[dst]) \n\t"
601 "usw %[temp0], 1*" XSTR(BPS) "(%[dst]) \n\t"
602 "usw %[temp0], 2*" XSTR(BPS) "(%[dst]) \n\t"
603 "usw %[temp0], 3*" XSTR(BPS) "(%[dst]) \n\t"
604 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1)
611 int a10, a32, temp0, temp1, temp2, temp3, temp4, temp5;
618 "ulw %[temp0], -5(%[top]) \n\t"
623 "shrl.ph %[temp1], %[temp0], 8 \n\t"
624 "and %[temp0], %[temp0], %[c35] \n\t"
626 "subu.ph %[temp0], %[temp0], %[temp4] \n\t"
628 "srl %[temp3], %[temp0], 16 \n\t"
632 "replv.ph %[temp5], %[temp0] \n\t"
633 "addu.ph %[temp0], %[temp3], %[a10] \n\t"
637 "shll_s.ph %[temp0], %[temp0], 7 \n\t"
641 "precrqu_s.qb.ph %[temp0], %[temp1], %[temp0] \n\t"
654 "usw %[temp0], 1*" XSTR(BPS) "(%[dst]) \n\t"
657 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
666 int temp0, temp1, temp2, temp3, temp4, temp5, temp6;
668 "ulw %[temp0], -1(%[top]) \n\t"
670 "preceu.ph.qbr %[temp2], %[temp0] \n\t"
671 "preceu.ph.qbl %[temp3], %[temp0] \n\t"
688 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
697 int temp0, temp1, temp2, temp3, temp4, temp5, temp6;
699 "ulw %[temp0], -4(%[top]) \n\t"
701 "preceu.ph.qbr %[temp2], %[temp0] \n\t"
702 "preceu.ph.qbl %[temp3], %[temp0] \n\t"
714 "replv.qb %[temp0], %[temp3] \n\t"
721 "usw %[temp0], 1*" XSTR(BPS) "(%[dst]) \n\t"
724 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
733 int temp0, temp1, temp2, temp3, temp4, temp5;
736 "ulw %[temp0], -5(%[top]) \n\t"
738 "preceu.ph.qbl %[temp2], %[temp0] \n\t"
739 "preceu.ph.qbr %[temp3], %[temp0] \n\t"
757 "lbu %[temp0], 3(%[top]) \n\t"
761 "addu %[temp0], %[temp0], %[temp1] \n\t"
762 "addu %[temp0], %[temp0], %[temp2] \n\t"
764 "shra_r.w %[temp0], %[temp0], 2 \n\t"
769 "prepend %[temp10], %[temp0], 8 \n\t"
772 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
782 int temp0, temp1, temp2, temp3, temp4;
785 "ulw %[temp0], -4(%[top]) \n\t"
787 "preceu.ph.qbl %[temp2], %[temp0] \n\t"
788 "preceu.ph.qbr %[temp0], %[temp0] \n\t"
800 "packrl.ph %[temp7], %[temp2], %[temp0] \n\t"
801 "addu.ph %[temp6], %[temp0], %[temp2] \n\t"
822 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
832 int temp0, temp1, temp2, temp3, temp4, temp5;
835 "ulw %[temp0], 0(%[top]) \n\t"
837 "preceu.ph.qbl %[temp2], %[temp0] \n\t"
838 "preceu.ph.qbr %[temp3], %[temp0] \n\t"
869 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
879 int temp0, temp1, temp2, temp3, temp4;
882 "ulw %[temp0], 0(%[top]) \n\t"
884 "preceu.ph.qbla %[temp2], %[temp0] \n\t"
885 "preceu.ph.qbra %[temp0], %[temp0] \n\t"
888 "addqh_r.ph %[temp4], %[temp0], %[temp2] \n\t"
889 "packrl.ph %[temp7], %[temp1], %[temp0] \n\t"
895 "addu.ph %[temp0], %[temp0], %[temp7] \n\t"
899 "addu.ph %[temp0], %[temp0], %[temp9] \n\t"
902 "shra_r.ph %[temp0], %[temp0], 2 \n\t"
907 "precrq.ph.w %[temp3], %[temp2], %[temp0] \n\t"
908 "append %[temp2], %[temp0], 16 \n\t"
918 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
928 int temp0, temp1, temp2, temp3, temp4;
931 "ulw %[temp0], -5(%[top]) \n\t"
933 "preceu.ph.qbla %[temp2], %[temp0] \n\t"
934 "preceu.ph.qbra %[temp0], %[temp0] \n\t"
937 "addqh_r.ph %[temp4], %[temp0], %[temp2] \n\t"
938 "packrl.ph %[temp7], %[temp1], %[temp0] \n\t"
944 "addu.ph %[temp0], %[temp0], %[temp7] \n\t"
948 "addu.ph %[temp0], %[temp0], %[temp9] \n\t"
951 "shra_r.ph %[temp0], %[temp0], 2 \n\t"
955 "precrq.ph.w %[temp3], %[temp0], %[temp4] \n\t"
961 "append %[temp0], %[temp4], 16 \n\t"
963 "precr.qb.ph %[temp4], %[temp2], %[temp0] \n\t"
966 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
976 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
978 "ulw %[temp0], -5(%[top]) \n\t"
979 "preceu.ph.qbl %[temp1], %[temp0] \n\t"
980 "preceu.ph.qbr %[temp2], %[temp0] \n\t"
988 "shll.ph %[temp0], %[temp2], 1 \n\t"
990 "addu.ph %[temp0], %[temp3], %[temp0] \n\t"
992 "shra_r.ph %[temp0], %[temp0], 2 \n\t"
995 "append %[temp0], %[temp5], 16 \n\t"
998 "precr.qb.ph %[temp1], %[temp7], %[temp0] \n\t"
1003 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
1063 "lw %[temp0], " #A "(%[a]) \n\t" \
1065 "preceu.ph.qbr %[temp2], %[temp0] \n\t" \
1066 "preceu.ph.qbl %[temp0], %[temp0] \n\t" \
1070 "subq.ph %[temp0], %[temp0], %[temp1] \n\t" \
1072 "dpa.w.ph $ac0, %[temp0], %[temp0] \n\t"
1082 int temp0, temp1, temp2, temp3;
1102 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
1112 int temp0, temp1, temp2, temp3;
1124 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
1134 int temp0, temp1, temp2, temp3;
1142 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
1152 int temp0, temp1, temp2, temp3;
1157 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
1247 "srl %[temp0], %[coeff], 16 \n\t" \
1251 "mul %[temp4], %[temp0], %[temp6] \n\t" \
1275 int temp0, temp1, temp2, temp3, temp4, temp5,temp6;
1299 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1),
1325 // temp0..temp7 holds tmp[0]..tmp[15]
1327 // TEMP0, TEMP1 - registers for corresponding tmp elements
1328 #define HORIZONTAL_PASS_WHT(A, B, C, D, TEMP0, TEMP1) \
1329 "lh %[" #TEMP0 "], " #A "(%[in]) \n\t" \
1333 "ins %[" #TEMP1 "], %[" #TEMP0 "], 16, 16 \n\t" \
1337 "precrq.ph.w %[" #TEMP0 "], %[temp8], %[temp9] \n\t" \
1339 "subq.ph %[" #TEMP1 "], %[" #TEMP0 "], %[temp8] \n\t" \
1340 "addq.ph %[" #TEMP0 "], %[" #TEMP0 "], %[temp8] \n\t" \
1344 // temp0..temp7 holds tmp[0]..tmp[15]
1346 // TEMP0, TEMP2, TEMP4 and TEMP6 - registers for corresponding tmp elements
1347 #define VERTICAL_PASS_WHT(A, B, C, D, TEMP0, TEMP2, TEMP4, TEMP6) \
1348 "addq.ph %[temp8], %[" #TEMP0 "], %[" #TEMP4 "] \n\t" \
1351 "subq.ph %[" #TEMP6 "], %[" #TEMP0 "], %[" #TEMP4 "] \n\t" \
1352 "addqh.ph %[" #TEMP0 "], %[temp8], %[temp9] \n\t" \
1356 "usw %[" #TEMP0 "], " #A "(%[out]) \n\t" \
1362 int temp0, temp1, temp2, temp3, temp4;
1366 HORIZONTAL_PASS_WHT( 0, 32, 64, 96, temp0, temp1)
1370 VERTICAL_PASS_WHT(0, 8, 16, 24, temp0, temp2, temp4, temp6)
1372 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
1388 "ulw %[temp0], " #A "(%[out]) \n\t" \
1392 "absq_s.ph %[temp0], %[temp0] \n\t" \
1398 "shra.ph %[temp0], %[temp0], 3 \n\t" \
1402 "shll_s.ph %[temp0], %[temp0], 10 \n\t" \
1406 "shrl.ph %[temp0], %[temp0], 10 \n\t" \
1410 "shll.ph %[temp0], %[temp0], 2 \n\t" \
1414 "ext %[temp4], %[temp0], 0, 16 \n\t" \
1415 "ext %[temp0], %[temp0], 16, 16 \n\t" \
1417 "addu %[temp0], %[temp0], %[dist] \n\t" \
1424 "lw %[temp8], 0(%[temp0]) \n\t" \
1428 "sw %[temp8], 0(%[temp0]) \n\t" \
1463 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7, temp8;
1471 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),