]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: asm: stackframe: Do not preserve the HI/LO registers on MIPS R6
authorLeonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Mon, 27 Oct 2014 11:37:47 +0000 (11:37 +0000)
committerMarkos Chandras <markos.chandras@imgtec.com>
Tue, 17 Feb 2015 15:37:17 +0000 (15:37 +0000)
commit4528e5c8456a7f180f84a507a77bd8619c92e0bc
tree76a99e8af76498ac13dd6df361263358b29fe4b0
parent8417b917b240dee0deb5b8d24c60ed01a6b2c1d2
MIPS: asm: stackframe: Do not preserve the HI/LO registers on MIPS R6

The HI/LO registers have been removed from MIPS R6. Instructions
such as MULT and DIV have been replaced with a new pair of
instructions for the HI/LO operations for example:

MULT -> MUL, MUH
DIV -> DIV, MOD

So we avoid preserving the pre-R6 HI/LO registers in MIPS R6

Signed-off-by: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
arch/mips/include/asm/stackframe.h