diff options
author | Paul Mackerras <paulus@samba.org> | 2007-08-10 06:07:38 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-08-17 03:01:55 +0200 |
commit | c6d4267eced79775399f256fbb4adb671e9b597e (patch) | |
tree | 211acc4464342ba2d87365367c3afb4ce509038d /include/asm-powerpc/ptrace.h | |
parent | [POWERPC] pseries: Remove dead EEH video code (diff) | |
download | linux-c6d4267eced79775399f256fbb4adb671e9b597e.tar.xz linux-c6d4267eced79775399f256fbb4adb671e9b597e.zip |
[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 'include/asm-powerpc/ptrace.h')
0 files changed, 0 insertions, 0 deletions