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

Atari demoscene BBS
 
Re: Line rout
Posted by: Kalms Sep,26.2011-20:54 

Hmm, you're right:

ori.w #xxxx,yyyy(an) is 20 cycles.

However the reason why I'm not using register operands is just what evil suggests: the overhead of loading the registers. And I need a couple of data registers outside of the 16-pixel loop as well. So the question boils down to, is it worth the overhead outside of the generated code? The answer is not so obvious if you target lines which are like ~50 pixels in length instead of just optimizing for the longest possible diagonal line.







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

Topic Posted by  Date 
Line rout Chuck Sep,08.2011-18:49
  Re: Line rout ggn Sep,08.2011-21:14
    Re: Line rout Chuck/Dune Sep,08.2011-23:21
    Re: Line rout Leonard Sep,09.2011-11:47
      Re: Line rout Mr.Styckx Sep,09.2011-18:24
        Re: Line rout chuck Sep,09.2011-22:31
          Re: Line rout ggn Sep,10.2011-15:57
      Re: Line rout ggn Sep,09.2011-19:55
        Re: Line rout Simon Sunnyboy / Paradize Sep,11.2011-16:58
          Re: Line rout rudis Sep,11.2011-17:58
            Re: Line rout Simon Sunnyboy / Paradize Sep,13.2011-14:18
      Line Rout Defjam Sep,10.2011-20:45
        Re: Line Rout Chuck/Dune Sep,11.2011-01:09
          Re: Line Rout Kalms Sep,13.2011-22:42
            Re: Line Rout Defjam Sep,14.2011-18:38
              Re: Line Rout Kalms Sep,14.2011-23:12
  Re: Line rout RA/pdx Sep,09.2011-23:35
    Re: Line rout PeP Sep,10.2011-20:14
      Re: Line rout Marcer Sep,10.2011-23:16
        Re: Line rout baah Sep,12.2011-10:23
          Re: Line rout baah Sep,12.2011-10:27
            Re: Line rout Chuck Sep,21.2011-21:36
              Re: Line rout Kalms Sep,22.2011-22:13
                Re: Line rout corbo Sep,23.2011-01:11
                  Re: Line rout corbo Sep,23.2011-01:12
                  Re: Line rout evil Sep,24.2011-11:04
                    Re: Line rout Kalms Sep,26.2011-20:54
                      Re: Line rout corbo Sep,27.2011-19:33
                        Re: Line rout Kalms Sep,28.2011-14:46
                Re: Line rout Chuck/Dune Sep,24.2011-17:28
                  Re: Line rout baah Oct,03.2011-19:27
                    Re: Line rout Kalms Oct,03.2011-23:58


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