From: Giacomo Gabrielli Date: Thu, 1 Mar 2012 23:26:30 +0000 (-0600) Subject: ARM: fix bits-to-fp conversion function declarations. X-Git-Tag: stable_2012_06_28~208 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d51478db4ed0a15fa180282f3fe986c5b89f50ba;p=gem5.git 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. --- 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