ARM: fix bits-to-fp conversion function declarations.
authorGiacomo Gabrielli <Giacomo.Gabrielli@arm.com>
Thu, 1 Mar 2012 23:26:30 +0000 (17:26 -0600)
committerGiacomo Gabrielli <Giacomo.Gabrielli@arm.com>
Thu, 1 Mar 2012 23:26:30 +0000 (17:26 -0600)
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

index b3582a35181da33df1057509ba9510838f96b8e4..9babaae04fb7cffc34731442ae44cef1e86089a8 100644 (file)
@@ -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