Skip to content
  • Paul Burton's avatar
    MIPS: Use unchecked immediate addition/subtraction · 9f8ac824
    Paul Burton authored
    
    
    In MIPS assembly there have historically been 2 variants of immediate
    addition - the standard "addi" which traps if an overflow occurs, and
    the unchecked "addiu" which does not trap on overflow. In release 6 of
    the MIPS architecture the trapping variants of immediate addition &
    subtraction have been removed. In preparation for supporting MIPSr6,
    stop using the trapping instructions from assembly & switch to their
    unchecked variants.
    
    Signed-off-by: default avatarPaul Burton <paul.burton@imgtec.com>
    9f8ac824