Home | History | Annotate | Download | only in asm

Lines Matching refs:tp

29 $num="r0";	# starts as num argument, but holds &tp[num-1]
33 $tp="r4";
46 #### argument block layout relative to &tp[num-1], a.k.a. $num
75 add $tp,$bp,$num @ &bp[num-1]
77 add $num,sp,$num @ $num to point at &tp[num-1]
83 str $tp,[$_bpend] @ save &bp[num]
87 mul $n0,$alo,$n0 @ "tp[0]"*n0
90 mov $tp,sp
101 str $nlo,[$tp],#4 @ tp[j-1]=,tp++
103 cmp $tp,$num
107 ldr $tp,[$_bp] @ restore bp
111 str $nlo,[$num] @ tp[num-1]=
112 str $nhi,[$num,#4] @ tp[num]=
118 ldr $bi,[$tp,#4]! @ *(++bp)
121 ldr $alo,[sp] @ tp[0]
123 ldr $tj,[sp,#4] @ tp[1]
126 umlal $alo,$ahi,$aj,$bi @ ap[0]*bp[i]+tp[0]
127 str $tp,[$_bp] @ save bp
130 umlal $alo,$nlo,$nj,$n0 @ np[0]*n0+"tp[0]"
131 mov $tp,sp
135 adds $alo,$ahi,$tj @ +=tp[j]
142 ldr $tj,[$tp,#8] @ tp[j+1]
144 str $nlo,[$tp],#4 @ tp[j-1]=,tp++
146 cmp $tp,$num
151 ldr $tp,[$_bp] @ restore bp
157 str $nlo,[$num] @ tp[num-1]=
158 str $nhi,[$num,#4] @ tp[num]=
160 cmp $tp,$tj
165 add $num,$num,#4 @ $num to point at &tp[num]
167 mov $tp,sp @ "rewind" $tp
168 mov $ap,$tp @ "borrow" $ap
172 .Lsub: ldr $tj,[$tp],#4
174 sbcs $tj,$tj,$nj @ tp[j]-np[j]
176 teq $tp,$num @ preserve carry
179 mov $tp,sp @ "rewind" $tp
182 and $ap,$tp,$nhi
184 orr $ap,$ap,$np @ ap=borrow?tp:rp
187 str sp,[$tp],#4 @ zap tp
189 cmp $tp,$num
192 add sp,$num,#4 @ skip over tp[num+1]