linux/arch/mips/include
Markos Chandras f27d07312f MIPS: asm: asmmacro: Replace "add" instructions with "addu"
commit 98a833c1fa upstream.

The "add" instruction is actually a macro in binutils and depending on
the size of the immediate it can expand to an "addi" instruction.
However, the "addi" instruction traps on overflows which is not
something we want on address calculation.

Link: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00121.html
Cc: Paul Burton <paul.burton@imgtec.com>
Cc: Maciej W. Rozycki <macro@linux-mips.org>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
[ luis: backported to 3.16: adjusted context ]
Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
History 2015-03-02 15:04:29 +00:00
..
asm MIPS: asm: asmmacro: Replace "add" instructions with "addu" 2015-03-02 15:04:29 +00:00
uapi/asm MIPS: uasm: Add SLT uasm instruction 2014-06-26 10:48:19 +01:00