diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2019-08-08 17:29:41 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-08-19 12:07:13 +0100 |
commit | 135b03cb9defbd080b8834b30e3d45bed00c6137 (patch) | |
tree | a9f5fa665d05f3761e876a89fb3a4ade2208d40e /target/riscv/fpu_helper.c | |
parent | 502700d0674919309a19bfd016ea0680c6b7747d (diff) | |
download | qemu-135b03cb9defbd080b8834b30e3d45bed00c6137.zip |
target/riscv: rationalise softfloat includes
We should avoid including the whole of softfloat headers in cpu.h and
explicitly include it only where we will be calling softfloat
functions. We can use the -types.h and -helpers.h in cpu.h for the few
bits that are global.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'target/riscv/fpu_helper.c')
-rw-r--r-- | target/riscv/fpu_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/riscv/fpu_helper.c b/target/riscv/fpu_helper.c index b4f818a646..0b79562a69 100644 --- a/target/riscv/fpu_helper.c +++ b/target/riscv/fpu_helper.c @@ -21,6 +21,7 @@ #include "qemu/host-utils.h" #include "exec/exec-all.h" #include "exec/helper-proto.h" +#include "fpu/softfloat.h" target_ulong riscv_cpu_get_fflags(CPURISCVState *env) { |