Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

Atari demoscene BBS
 
Re: DSP cycles
Posted by: mikro Feb,25.2010-18:10 

I can check at home but from top of my head -- there's simple rule, DSP is able to handle one external access + all internal accesses in one bus cycle, i.e.:

mpy x0,y0,a
mpy x0,y0,a x:(r0)+,b
mpy x0,y0,a x:(r0)+,b x:(r4)+,b

still take the same amount of time if x/y are internal (p doesn't matter here).

if one of p/x/y is external, for every next external access add +1 bus cycle, so for extreme case where p, x and y are all external, it will cost you 3 bus cycles, if none of them is external, it will still cost you one bus cycle.

about the length / duration of bus cycle, I have no idea, probably +1 is OK for hatari.







[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
DSP cycles Sallafranque Feb,23.2010-00:56
  Re: DSP cycles mikro Feb,23.2010-12:40
    Re: DSP cycles Sallafranque Feb,24.2010-02:49
      Re: DSP cycles Sallafranque Feb,24.2010-02:49
        Re: DSP cycles mikro Feb,24.2010-11:50
          Re: DSP cycles Sallafranque Feb,24.2010-13:43
            Re: DSP cycles Chuck/Dune Feb,24.2010-13:56
              Re: DSP cycles Sallafranque Feb,24.2010-14:06
            Re: DSP cycles mikro Feb,25.2010-00:54
              Re: DSP cycles Sallafranque Feb,25.2010-14:14
                Re: DSP cycles mikro Feb,25.2010-18:10
                  Re: DSP cycles Patrice Mandin Feb,25.2010-19:38
                    Re: DSP cycles Sallafranque Feb,27.2010-11:13


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson