• Michal Simek's avatar
    microblaze: Simplify _debug_exception function · 06b28640
    Michal Simek authored
    Keep together all arguments for send_sig function.
    Move returning address to delay slot which is executed.
    Remove additional send_sig loading. I am using IMM part of
    rtbd instruction with r0.
    
    old solution:
    addik r11, r0, send_sig
    rtbd r11, 0
    nop
    
    new solution:
    rtbd r0, send_sig
    nop
    
    There is one instruction saving.
    Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
    06b28640
entry.S 31.5 KB