projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b32c9f
)
ARM: fix bits-to-fp conversion function declarations.
author
Giacomo Gabrielli
<Giacomo.Gabrielli@arm.com>
Thu, 1 Mar 2012 23:26:30 +0000
(17:26 -0600)
committer
Giacomo 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
patch
|
blob
|
history
diff --git
a/src/arch/arm/insts/vfp.hh
b/src/arch/arm/insts/vfp.hh
index b3582a35181da33df1057509ba9510838f96b8e4..9babaae04fb7cffc34731442ae44cef1e86089a8 100644
(file)
--- 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