Re: Fwd: Re: [hatari-devel] Re: [hatari-users] DSP emulation - MPY #immediate

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Thanks a lot.

From your trace, I can see that the profiler timings are 1 instruction too late (the problem seems to be into it):

p:00cf  209800         (02 cyc)  move x0,n0                                        0.00% (1, 2)
p:00d0  20bc00         (02 cyc)  move x1,n4                                        0.00% (1, 2)
p:00d1  46e800         (04 cyc)  move x:(r0+n0),y0                                 0.00% (1, 2)    <-- 4 cycles in the DSP instruction, but only 2 cycles into the profiler
p:00d2  47ec55         (04 cyc)  cmp y0,a x:(r4+n4),y1                             0.00% (1, 4)    <-- 4 cycles in the DSP instruction, and the 4 cycles of the previous instruction
p:00d3  0af0af 0000de  (06 cyc)  jle p:$00de                                       0.00% (1, 4)    <-- 6 cycles in the DSP instruction, and the 4 cycles of the previous instruction
p:00d5  200075         (02 cyc)  cmp y1,a                                          0.00% (1, 6)    <-- 2 cycles in the DSP instruction, and the 6 cycles of the previous instruction


....

Eero, any idea ?

Laurent




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/