powerpc: Emulate load/store floating point as integer word instructions
authorPaul Mackerras <paulus@ozlabs.org>
Wed, 30 Aug 2017 06:34:09 +0000 (16:34 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 1 Sep 2017 06:42:44 +0000 (16:42 +1000)
commitd2b65ac6526a82965212b632d42687251e122a36
treef9992c13e7d20b5ccff321973d9e7cdc57392332
parent31bfdb036f1281831db2532178f0da41f4dc9bed
powerpc: Emulate load/store floating point as integer word instructions

This adds emulation for the lfiwax, lfiwzx and stfiwx instructions.
This necessitated adding a new flag to indicate whether a floating
point or an integer conversion was needed for LOAD_FP and STORE_FP,
so this moves the size field in op->type up 4 bits.

Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/sstep.h
arch/powerpc/lib/sstep.c