diff options
author | Paul Burton <paul.burton@imgtec.com> | 2014-07-11 16:44:29 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-08-02 00:06:43 +0200 |
commit | b83406735a4ae0aff4b614664d6a64a0fd6b9917 (patch) | |
tree | 2fd9b98b88f6f19c421001666b4aaeb943d1e7e7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | f7a46fa7bb0047d3e226702a0c4b786862fe6843 (diff) |
MIPS: preserve scalar FP CSR when switching vector context
Switching the vector context implicitly saves & restores the state of
the aliased scalar FP data registers, however the scalar FP control
& status register is distinct from the MSA control & status register.
In order to allow scalar FP to function correctly in programs using
MSA, the scalar CSR needs to be saved & restored along with the MSA
vector context.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/7301/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions