]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: math-emu: Remove `modeindex' macro
authorMaciej W. Rozycki <macro@linux-mips.org>
Fri, 3 Apr 2015 22:24:56 +0000 (23:24 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 Apr 2015 23:09:10 +0000 (01:09 +0200)
commit33c1de543b31a39b62e2a78c90fe85aa355b37d9
treeb52d5d5a25e23c309be29d475884a0665a0bddbe
parente4cd1088d89db21195e43e5f33e42aa6f157e16f
MIPS: math-emu: Remove `modeindex' macro

Commit 614e1267 [MIPS: math-emu: Switch to using the MIPS rounding
modes.] removed the distinction between hardware and emulator rounding
mode encodings, the hardware encoding is now used in emulation as well.
Complement the change and remove the `modeindex' macro previously used
for indexing into encoding translation tables, it now does nothing and
only obfuscates code by reinserting the value extracted from FCSR.
Adjust comments accordingly.

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