From d51478db4ed0a15fa180282f3fe986c5b89f50ba Mon Sep 17 00:00:00 2001 From: Giacomo Gabrielli Date: Thu, 1 Mar 2012 17:26:30 -0600 Subject: [PATCH] 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. --- src/arch/arm/insts/vfp.hh | 2 ++ 1 file changed, 2 insertions(+) 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 static inline bool