aboutsummaryrefslogtreecommitdiff
path: root/include/qemu
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2018-01-19 16:36:40 +0000
committerAlex Bennée <alex.bennee@linaro.org>2018-02-21 10:20:19 +0000
commitcfd88fc6f2722def193f5ef271381d8f6e2a2526 (patch)
treedd68bdc2969247e11137d2fd99e9720fd8b0532a /include/qemu
parenta9579fff616563ca34977af68c9646c8f7be1120 (diff)
downloadqemu-cfd88fc6f2722def193f5ef271381d8f6e2a2526.zip
qemu-cfd88fc6f2722def193f5ef271381d8f6e2a2526.tar.gz
qemu-cfd88fc6f2722def193f5ef271381d8f6e2a2526.tar.bz2
fpu/softfloat-types: new header to prevent excessive re-builds
The main culprit here is bswap.h which pulled in softfloat.h so it could use the types in its CPU_Float* and ldfl/stfql functions. As bswap.h is very widely included this added a compile dependency every time we touch softfloat.h. Move the typedefs for each float type into their own file so we don't re-build the world every time we tweak the main softfloat.h header. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/qemu')
-rw-r--r--include/qemu/bswap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/bswap.h b/include/qemu/bswap.h
index 09c78fd..3f28f66 100644
--- a/include/qemu/bswap.h
+++ b/include/qemu/bswap.h
@@ -1,7 +1,7 @@
#ifndef BSWAP_H
#define BSWAP_H
-#include "fpu/softfloat.h"
+#include "fpu/softfloat-types.h"
#ifdef CONFIG_MACHINE_BSWAP_H
# include <sys/endian.h>