diff options
| author | Alex Bennée | 2019-08-08 18:27:31 +0200 |
|---|---|---|
| committer | Alex Bennée | 2019-08-19 13:07:13 +0200 |
| commit | 502700d0674919309a19bfd016ea0680c6b7747d (patch) | |
| tree | bc6f83c0855bf6e0ab9abb50219fa63d4929fb0f /linux-user/mips | |
| parent | fpu: rename softfloat-specialize.h -> .inc.c (diff) | |
| download | qemu-502700d0674919309a19bfd016ea0680c6b7747d.tar.gz qemu-502700d0674919309a19bfd016ea0680c6b7747d.tar.xz 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 'linux-user/mips')
| -rw-r--r-- | linux-user/mips/cpu_loop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/mips/cpu_loop.c b/linux-user/mips/cpu_loop.c index 0ba894fa7a..39915b3fde 100644 --- a/linux-user/mips/cpu_loop.c +++ b/linux-user/mips/cpu_loop.c @@ -22,6 +22,7 @@ #include "qemu.h" #include "cpu_loop-common.h" #include "elf.h" +#include "internal.h" # ifdef TARGET_ABI_MIPSO32 # define MIPS_SYS(name, args) args, |
