Re: [hatari-devel] DSP bug: need more explanations |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
- r0 is, in fact, used:
r0 = 0
1. iteration
r0 = 0
old_r0 +1 => r1
r1 = 1
2. iteration
r0 = 1
old_r0 + 1 => r1
r1 = 1
3. iteration
r0 = 2
old_r0 + 1 => r1
r1 = 2
... something like that?
Yes, but for the third iteration, if there was pipeline effect, I think that at the end of the movem, R0 = 1 and not 2 (as R1 in the second iteration = 1 and writes its value to p:$118) > - you're using 2 program words, i.e. it could somehow
(don't ask me how) slow down the whole process and r0 gets the
right value. what if you replace movem with, say, move r2,r0?
Yes, great idea, I test immediatly (I'll use X1 to be sure there's no pipeline effect here ;) Hard problem for now ;) Regards Laurent Le 04/01/2015 23:14, Miro Kropáček a écrit :
|
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |