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)
commit6a0e9865b9003ba2bb1c3135dd99185946fa7159
tree76a99e8af76498ac13dd6df361263358b29fe4b0
parentb840a82c549d4126b5c4958673de3f472206e23e
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