Home | History | Annotate | Download | only in dsp

Lines Matching defs:temp0

29 // temp0..temp15 holds tmp[0]..tmp[15]
31 // TEMP0..TEMP3 - registers for corresponding tmp elements
33 #define VERTICAL_PASS(A, B, C, D, TEMP4, TEMP0, TEMP1, TEMP2, TEMP3) \
40 "mul %[" #TEMP0 "], %[temp17], %[kC2] \n\t" \
44 "sra %[" #TEMP0 "], %[" #TEMP0 "], 16 \n\n" \
48 "subu %[" #TEMP2 "], %[" #TEMP0 "], %[temp18] \n\t" \
50 "addu %[" #TEMP0 "], %[" #TEMP4 "], %[" #TEMP3 "] \n\t" \
58 // temp0..temp15 holds tmp[0]..tmp[15]
60 // TEMP0, TEMP4, TEMP8 and TEMP12 - registers for corresponding tmp elements
61 #define HORIZONTAL_PASS(A, TEMP0, TEMP4, TEMP8, TEMP12) \
62 "addiu %[" #TEMP0 "], %[" #TEMP0 "], 4 \n\t" \
63 "addu %[temp16], %[" #TEMP0 "], %[" #TEMP8 "] \n\t" \
64 "subu %[temp17], %[" #TEMP0 "], %[" #TEMP8 "] \n\t" \
65 "mul %[" #TEMP0 "], %[" #TEMP4 "], %[kC2] \n\t" \
69 "sra %[" #TEMP0 "], %[" #TEMP0 "], 16 \n\t" \
73 "subu %[temp18], %[" #TEMP0 "], %[" #TEMP8 "] \n\t" \
75 "addu %[" #TEMP0 "], %[temp16], %[temp19] \n\t" \
80 "sra %[" #TEMP0 "], %[" #TEMP0 "], 3 \n\t" \
88 "addu %[" #TEMP0 "], %[temp16], %[" #TEMP0 "] \n\t" \
92 "slt %[temp16], %[" #TEMP0 "], $zero \n\t" \
96 "movn %[" #TEMP0 "], $zero, %[temp16] \n\t" \
101 "slt %[temp16], %[" #TEMP0 "], %[temp20] \n\t" \
105 "movz %[" #TEMP0 "], %[temp20], %[temp16] \n\t" \
110 "sb %[" #TEMP0 "], 0+" XSTR(BPS) "*" #A "(%[temp16]) \n\t" \
118 int temp0, temp1, temp2, temp3, temp4, temp5, temp6;
125 VERTICAL_PASS(0, 16, 8, 24, temp4, temp0, temp1, temp2, temp3)
130 HORIZONTAL_PASS(0, temp0, temp4, temp8, temp12)
135 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
164 "lh %[temp0], " #J "(%[ppin]) \n\t" \
167 "sra %[sign], %[temp0], 15 \n\t" \
168 "xor %[coeff], %[temp0], %[sign] \n\t" \
192 int temp0, temp1, temp2, temp3, temp4, temp5;
222 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1),
257 "lbu %[temp0], 0+" XSTR(BPS) "*" #A "(%[a]) \n\t" \
265 "addu %[temp8], %[temp0], %[temp2] \n\t" \
266 "subu %[temp0], %[temp0], %[temp2] \n\t" \
275 "addu %[temp8], %[temp0], %[temp1] \n\t" \
276 "subu %[temp0], %[temp0], %[temp1] \n\t" \
284 "sw %[temp0], " #G "(%[tmp]) \n\t" \
303 "lw %[temp0], " #A1 "(%[tmp]) \n\t" \
307 "addu %[temp8], %[temp0], %[temp1] \n\t" \
308 "subu %[temp0], %[temp0], %[temp1] \n\t" \
313 "addu %[temp1], %[temp0], %[temp2] \n\t" \
314 "subu %[temp0], %[temp0], %[temp2] \n\t" \
317 "sra %[temp6], %[temp0], 31 \n\t" \
321 "xor %[temp0], %[temp0], %[temp6] \n\t" \
325 "subu %[temp0], %[temp0], %[temp6] \n\t" \
333 "madd %[temp6], %[temp0] \n\t" \
335 "lw %[temp0], " #A "(%[tmp]) \n\t" \
339 "addu %[temp8], %[temp0], %[temp1] \n\t" \
340 "subu %[temp0], %[temp0], %[temp1] \n\t" \
345 "addu %[temp8], %[temp0], %[temp2] \n\t" \
346 "subu %[temp0], %[temp0], %[temp2] \n\t" \
352 "sra %[temp3], %[temp0], 31 \n\t" \
355 "xor %[temp0], %[temp0], %[temp3] \n\t" \
358 "subu %[temp0], %[temp0], %[temp3] \n\t" \
361 "msub %[temp6], %[temp0] \n\t" \
367 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7, temp8;
380 "mflo %[temp0] \n\t"
381 "sra %[temp1], %[temp0], 31 \n\t"
382 "xor %[temp0], %[temp0], %[temp1] \n\t"
383 "subu %[temp0], %[temp0], %[temp1] \n\t"
384 "sra %[temp0], %[temp0], 5 \n\t"
386 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
393 return temp0;
412 // temp0..temp15 holds tmp[0]..tmp[15]
414 // TEMP0..TEMP3 - registers for corresponding tmp elements
415 #define HORIZONTAL_PASS(A, TEMP0, TEMP1, TEMP2, TEMP3) \
425 "subu %[" #TEMP0 "], %[temp18], %[temp19] \n\t" \
432 "addu %[temp20], %[" #TEMP0 "], %[" #TEMP1 "] \n\t" \
433 "subu %[" #TEMP0 "], %[" #TEMP0 "], %[" #TEMP1 "] \n\t" \
436 "mul %[temp18], %[" #TEMP0 "], %[c5352] \n\t" \
437 "mul %[temp19], %[" #TEMP0 "], %[c2217] \n\t" \
440 "sll %[" #TEMP0 "], %[" #TEMP1 "], 3 \n\t" \
450 // temp0..temp15 holds tmp[0]..tmp[15]
452 // TEMP0, TEMP4, TEMP8 and TEMP12 - registers for corresponding tmp elements
453 #define VERTICAL_PASS(A, B, C, D, TEMP0, TEMP4, TEMP8, TEMP12) \
454 "addu %[temp16], %[" #TEMP0 "], %[" #TEMP12 "] \n\t" \
455 "subu %[temp19], %[" #TEMP0 "], %[" #TEMP12 "] \n\t" \
463 "addu %[" #TEMP0 "], %[temp16], %[temp17] \n\t" \
464 "sra %[" #TEMP0 "], %[" #TEMP0 "], 4 \n\t" \
476 "sh %[" #TEMP0 "], " #A "(%[temp20]) \n\t" \
482 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7, temp8;
491 HORIZONTAL_PASS(0, temp0, temp1, temp2, temp3)
496 VERTICAL_PASS(0, 8, 16, 24, temp0, temp4, temp8, temp12)
501 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
519 "lbu %[temp0], " #A "(%[a]) \n\t" \
527 "subu %[temp0], %[temp0], %[temp1] \n\t" \
531 "madd %[temp0], %[temp0] \n\t" \
544 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
567 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
578 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
593 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
604 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
615 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),
626 int temp0, temp1, temp2, temp3, temp4, temp5, temp6, temp7;
634 : [temp0]"=&r"(temp0), [temp1]"=&r"(temp1), [temp2]"=&r"(temp2),