diff options
author | Clément Léger <[email protected]> | 2023-10-04 17:14:01 +0200 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2023-11-01 08:34:55 -0700 |
commit | 7c586a555a48a952f64d883d2f20402fb61d9164 (patch) | |
tree | b4ab42254c91cc16877ca13b79473c90b535c264 /tools/perf/scripts/python/task-analyzer.py | |
parent | 89c12fecdc4d46c1f08a81dab5d305304cc626eb (diff) |
riscv: add floating point insn support to misaligned access emulation
This support is partially based of openSBI misaligned emulation floating
point instruction support. It provides support for the existing
floating point instructions (both for 32/64 bits as well as compressed
ones). Since floating point registers are not part of the pt_regs
struct, we need to modify them directly using some assembly. We also
dirty the pt_regs status in case we modify them to be sure context
switch will save FP state. With this support, Linux is on par with
openSBI support.
Signed-off-by: Clément Léger <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions