• Rise from your gwave!

CyberWarriorX Blog : SH2 assembly optimizations

Discussion in 'Saturn Dev' started by vbt, Aug 31, 2016.

  1. vbt

    vbt Staff Member

    source : http://cyberwarriorx.com/sh2-assembly-optimizations
     
  2. paul_met

    paul_met New Member

    Very useful information.
    I think the next optimization is also possible:
    Usually after the "jump" instructions (JSR, BSR, RTS...) should be NOP. So you can use this instruction. But we should remember that it will be executed before the "jump" instructions.
    Code:
    ...
    JSR Rm
    Nop
    ...
    
     
    Last edited: Oct 8, 2016

Share This Page