linux/arch/mips/math-emu
Ralf Baechle 76fbfc318d MIPS: Sort out mm_isBranchInstr.
mm_isBranchInstr() did reside in the math emu code even though it logically
is separate and also is used outside the math emu code.  In addition GCC 4.9.0
leaves the following unnnecessarily bloated function body for a non-microMIPS
configuration:

<mm_isBranchInstr>:
    105c:       afa50004        sw      a1,4(sp)
    1060:       afa60008        sw      a2,8(sp)
    1064:       afa7000c        sw      a3,12(sp)
    1068:       03e00008        jr      ra
    106c:       00001021        move    v0,zero

which stores arguments that are never going to be used on the stack frame.

Move mm_isBranchInstr() from cp1emu.c to branch.c, then split mm_isBranchInstr()
into a __mm_isBranchInstr() core and a mm_isBranchInstr() wrapper inline function
which only invokes __mm_isBranchInstr() on microMIPS configurations.

This shaves off 112 bytes off the kernel and improves code flow a bit.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2014-05-23 15:12:37 +02:00
..
cp1emu.c MIPS: Sort out mm_isBranchInstr. 2014-05-23 15:12:37 +02:00
dp_add.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_cmp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_div.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_fint.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_flong.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_fsp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_mul.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_simple.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_sqrt.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_sub.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_tint.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dp_tlong.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
dsemul.c MIPS: math-emu: Convert debug printks to pr_debug getting. 2014-05-23 15:11:04 +02:00
ieee754.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754.h MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754d.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754dp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754dp.h MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754int.h MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754sp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
ieee754sp.h MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
Makefile MIPS: math-emu: Inline fpu_emulator_init_fpu() 2014-05-23 15:12:37 +02:00
me-debugfs.c MIPS: math-emu: Reformat code according to coding style. 2014-05-21 11:12:56 +02:00
sp_add.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_cmp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_div.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_fdp.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_fint.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_flong.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_mul.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_simple.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_sqrt.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_sub.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_tint.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00
sp_tlong.c MIPS: math-emu: Cleanup coding style. 2014-05-23 15:11:15 +02:00