aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/Kconfig.debug
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2007-08-10 14:07:38 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-17 11:01:55 +1000
commitc6d4267eced79775399f256fbb4adb671e9b597e (patch)
tree211acc4464342ba2d87365367c3afb4ce509038d /arch/powerpc/Kconfig.debug
parent09a54101e15f43607722dee55f33d1962653c6cb (diff)
[POWERPC] Handle alignment faults on new FP load/store instructions
This adds code to handle alignment traps generated by the following new floating-point load/store instructions, by emulating the instruction in the kernel (as is done for other instructions that generate alignment traps): lfiwax load floating-point as integer word algebraic indexed stfiwx store floating-point as integer word indexed lfdp load floating-point double pair lfdpx load floating-point double pair indexed stfdp store floating-point double pair stfdpx store floating-point double pair indexed All these except stfiwx are new in POWER6. lfdp/lfdpx/stfdp/stfdpx load and store 16 bytes of memory into an even/odd FP register pair. In little-endian mode each 8-byte value is byte-reversed separately (i.e. not as a 16-byte unit). lfiwax/stfiwx load or store the lower 4 bytes of a floating-point register from/to memory; lfiwax sets the upper 4 bytes of the FP register to the sign extension of the value loaded. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions