]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[POWERPC] Fix handling of stfiwx math emulation
authorKumar Gala <galak@kernel.crashing.org>
Thu, 11 Oct 2007 22:07:34 +0000 (17:07 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 16 Oct 2007 14:05:24 +0000 (09:05 -0500)
commitba02946a903015840ef672ccc9dc8620a7e83de6
treedb338f067ef63fae6b9c7a5dd51b99b1539f8a57
parent65a6ec0d72a07f16719e9b7a96e1c4bae044b591
[POWERPC] Fix handling of stfiwx math emulation

Its legal for the stfiwx instruction to have RA = 0 as part of its
effective address calculation.  This is illegal for all other XE
form instructions.

Add code to compute the proper effective address for stfiwx if
RA = 0 rather than treating it as illegal.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/math-emu/math.c