]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: math-emu: Emulate MIPSr6 sel.fmt instruction
authorPaul Burton <paul.burton@imgtec.com>
Thu, 21 Apr 2016 13:04:48 +0000 (14:04 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 13 May 2016 12:02:22 +0000 (14:02 +0200)
commit7ee10b7433e7fb03d05dbe77f70e28c4454e74b2
treeba3801074945ae606c2feb8f1c57a9ad0d562acd
parentc7d9a63dbfe1948fab08f21a04e33acd4f328ce4
MIPS: math-emu: Emulate MIPSr6 sel.fmt instruction

Add support for emulating the MIPSr6 sel.fmt instruction, which was
previously missing from the FPU emulation code. This instruction selects
its result from 2 possible source registers, based upon bit 0 of the
destination register, and is valid only for S (single) & D (double) data
types.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Maciej W. Rozycki <macro@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13153/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/cp1emu.c