Skip to content
  • Aurelien Jarno's avatar
    target-sh4: fix fpu disabled/illegal exception · 86865c5f
    Aurelien Jarno authored
    
    
    Illegal instructions in a slot delay should generate a slot illegal
    instruction exception instead of an illegal instruction exception.
    
    The current PC should be saved before generating such an exception,
    but should not be corrected if in a delay slot, given it's already
    done in the exception handler do_interrupt().
    
    Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
    86865c5f