diff options
author | Maciej W. Rozycki <macro@linux-mips.org> | 2015-04-03 23:26:44 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2015-04-08 01:10:03 +0200 |
commit | 80cbfad790962125b542cb0cb637954c04386b30 (patch) | |
tree | 26e4eb2396e6e2a34824bd23a27be255e256ab07 /fs/xfs/libxfs/xfs_dir2_sf.c | |
parent | 7737b20b9e071f3595582686e894bf56377c43e4 (diff) |
MIPS: Correct MIPS I FP context layout
Implement the correct ordering of individual floating-point registers
within double-precision register pairs for the MIPS I FP context, as
required by our FP emulation code and expected by userland talking via
ptrace(2). Use L.D and S.D assembly macros that do the right thing like
LDC1 and SDC1 from MIPS II up, avoiding the need to mess up with
endianness conditionals.
This in particular fixes the handling of denormals and NaN generation in
Unimplemented Operation emulation traps.
Signed-off-by: Maciej W. Rozycki <macro@linux-mips.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/9699/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'fs/xfs/libxfs/xfs_dir2_sf.c')
0 files changed, 0 insertions, 0 deletions