summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiacomo Gabrielli <Giacomo.Gabrielli@arm.com>2012-03-01 17:26:30 -0600
committerGiacomo Gabrielli <Giacomo.Gabrielli@arm.com>2012-03-01 17:26:30 -0600
commitd51478db4ed0a15fa180282f3fe986c5b89f50ba (patch)
treee43bcdf6b2c0ecdff6bf49baa4ed235322ff6b76
parent4b32c9fb4d9d1b1507a4f0683b131d70918831ce (diff)
downloadgem5-d51478db4ed0a15fa180282f3fe986c5b89f50ba.tar.xz
ARM: fix bits-to-fp conversion function declarations.
Add extra declarations to allow the compiler to pick up the right function. Please note that these declarations have been added as part of the clang-related changes.
-rw-r--r--src/arch/arm/insts/vfp.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/arm/insts/vfp.hh b/src/arch/arm/insts/vfp.hh
index b3582a351..9babaae04 100644
--- a/src/arch/arm/insts/vfp.hh
+++ b/src/arch/arm/insts/vfp.hh
@@ -108,7 +108,9 @@ enum VfpRoundingMode
};
static inline float bitsToFp(uint64_t, float);
+static inline double bitsToFp(uint64_t, double);
static inline uint32_t fpToBits(float);
+static inline uint64_t fpToBits(double);
template <class fpType>
static inline bool