]> Git Repo - qemu.git/commit - target/riscv/csr.c
target/riscv: Create function to test if FP is enabled
authorAlistair Francis <[email protected]>
Tue, 30 Jul 2019 23:35:24 +0000 (16:35 -0700)
committerPalmer Dabbelt <[email protected]>
Tue, 17 Sep 2019 15:42:42 +0000 (08:42 -0700)
commitb345b48078d79ebe154a50f75e66999605abcc70
tree4604c04876cfd3a404a43e6028ad04751dbb7a97
parentf14d65e8992499a179ecdf1901137ce496a0a607
target/riscv: Create function to test if FP is enabled

Let's create a function that tests if floating point support is
enabled. We can then protect all floating point operations based on if
they are enabled.

This patch so far doesn't change anything, it's just preparing for the
Hypervisor support for floating point operations.

Signed-off-by: Alistair Francis <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Christophe de Dinechin <[email protected]>
Signed-off-by: Palmer Dabbelt <[email protected]>
target/riscv/cpu.h
target/riscv/cpu_helper.c
target/riscv/csr.c
This page took 0.024122 seconds and 4 git commands to generate.