diff options
| author | Alex Bennée <alex.bennee@linaro.org> | 2019-08-08 17:27:31 +0100 |
|---|---|---|
| committer | Alex Bennée <alex.bennee@linaro.org> | 2019-08-19 12:07:13 +0100 |
| commit | 502700d0674919309a19bfd016ea0680c6b7747d (patch) | |
| tree | bc6f83c0855bf6e0ab9abb50219fa63d4929fb0f /target/mips/op_helper.c | |
| parent | 00f43279a3e5e7ea3a0fa853157863663e838e2e (diff) | |
| download | focaccia-qemu-502700d0674919309a19bfd016ea0680c6b7747d.tar.gz focaccia-qemu-502700d0674919309a19bfd016ea0680c6b7747d.zip | |
target/mips: 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 in cpu.h for the few bits that are global. We also move the restore_snan_bit_mode into internal.h and include -helpers.h there. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Aleksandar Markovic <amarkovic@wavecomp.com>
Diffstat (limited to 'target/mips/op_helper.c')
| -rw-r--r-- | target/mips/op_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/mips/op_helper.c b/target/mips/op_helper.c index 9e2e02f858..f88a3ab904 100644 --- a/target/mips/op_helper.c +++ b/target/mips/op_helper.c @@ -25,6 +25,7 @@ #include "exec/exec-all.h" #include "exec/cpu_ldst.h" #include "sysemu/kvm.h" +#include "fpu/softfloat.h" /*****************************************************************************/ /* Exceptions processing helpers */ |