MIPS: math-emu: Factor out CFC1/CTC1 emulation
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 3 Apr 2015 22:25:04 +0000 (23:25 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 Apr 2015 23:09:15 +0000 (01:09 +0200)
commitd4f5b088937e2dae7528245c597dcab7e57eb5f3
tree7ed0a69bbb9ce1b9a1d09bd4f007a61f091100db
parentcb5d4aad6844cdbe2f3b9f5d581ae1c9ec342009
MIPS: math-emu: Factor out CFC1/CTC1 emulation

Move CFC1/CTC1 emulation code to separate functions to avoid excessive
indentation in forthcoming changes.  Adjust formatting in a minor way
and remove extraneous round brackets.

Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9682/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c