powerpc/math-emu: Fix decoding of some instructions
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Sun, 9 Jun 2013 07:00:42 +0000 (17:00 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:05:05 +0000 (17:05 +1000)
commit04ae9001719c3f0012d239a7c5aa4136f6b6541d
tree7fb5adf84fa359034100e672f92a21e42789313a
parenta5e4797b0f46819a74a7233825137ed5d2f51b51
powerpc/math-emu: Fix decoding of some instructions

The decoding of some instructions such as fsqrt{s} was incorrect,
using the wrong registers, and thus could not work.

This fixes it and also adds a couple of place holders for missing
instructions.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/math-emu/Makefile
arch/powerpc/math-emu/fre.c [new file with mode: 0644]
arch/powerpc/math-emu/frsqrtes.c [new file with mode: 0644]
arch/powerpc/math-emu/math.c