diff options
author | Alex Bennée | 2018-01-19 19:24:22 +0100 |
---|---|---|
committer | Alex Bennée | 2018-02-21 11:20:24 +0100 |
commit | 24f91e81b65fcdd0552d1f0fcb0ea7cfe3829c19 (patch) | |
tree | ef6dc84d7af647c2387238e57f96420f47643a95 /target/xtensa/op_helper.c | |
parent | fpu/softfloat-types: new header to prevent excessive re-builds (diff) | |
download | qemu-24f91e81b65fcdd0552d1f0fcb0ea7cfe3829c19.tar.gz qemu-24f91e81b65fcdd0552d1f0fcb0ea7cfe3829c19.tar.xz qemu-24f91e81b65fcdd0552d1f0fcb0ea7cfe3829c19.zip |
target/*/cpu.h: remove softfloat.h
As cpu.h is another typically widely included file which doesn't need
full access to the softfloat API we can remove the includes from here
as well. Where they do need types it's typically for float_status and
the rounding modes so we move that to softfloat-types.h as well.
As a result of not having softfloat in every cpu.h call we now need to
add it to various helpers that do need the full softfloat.h
definitions.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
[For PPC parts]
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/xtensa/op_helper.c')
-rw-r--r-- | target/xtensa/op_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/xtensa/op_helper.c b/target/xtensa/op_helper.c index 43182b113e..7486b99799 100644 --- a/target/xtensa/op_helper.c +++ b/target/xtensa/op_helper.c @@ -34,6 +34,7 @@ #include "exec/cpu_ldst.h" #include "exec/address-spaces.h" #include "qemu/timer.h" +#include "fpu/softfloat.h" void xtensa_cpu_do_unaligned_access(CPUState *cs, vaddr addr, MMUAccessType access_type, |