target/riscv: rationalise softfloat includes
commit135b03cb9defbd080b8834b30e3d45bed00c6137
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 8 Aug 2019 16:29:41 +0000 (8 17:29 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Mon, 19 Aug 2019 11:07:13 +0000 (19 12:07 +0100)
treea9f5fa665d05f3761e876a89fb3a4ade2208d40e
parent502700d0674919309a19bfd016ea0680c6b7747d
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>
target/riscv/cpu.c
target/riscv/cpu.h
target/riscv/fpu_helper.c