Skip to content
Snippets Groups Projects
Commit c8f930c0 authored by Peter Maydell's avatar Peter Maydell Committed by Aurelien Jarno
Browse files

cpu-all.h: Remove unnecessary target-specific ifdef for CPU_QuadU


CPU_QuadU isn't used on all targets, but there's no harm in defining the
typedef anyway. It only needs to be guarded by CONFIG_SOFTFLOAT, because
softfloat-native doesn't have a float128 type. This avoids the need for
every new target which uses CPU_QuadU to add itself to an #ifdef in
what ought to be target-agnostic code.

Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent cc49f217
No related branches found
No related tags found
No related merge requests found
......@@ -138,11 +138,10 @@ typedef union {
uint64_t ll;
} CPU_DoubleU;
#if defined(TARGET_SPARC) || defined(TARGET_S390X)
#if defined(CONFIG_SOFTFLOAT)
typedef union {
float128 q;
#if defined(HOST_WORDS_BIGENDIAN) \
|| (defined(__arm__) && !defined(__VFP_FP__) && !defined(CONFIG_SOFTFLOAT))
#if defined(HOST_WORDS_BIGENDIAN)
struct {
uint32_t upmost;
uint32_t upper;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment