summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNathan Binkert <nate@binkert.org>2009-03-05 19:09:53 -0800
committerNathan Binkert <nate@binkert.org>2009-03-05 19:09:53 -0800
commita767819d56c1a42ed3581bd63df384f8daa342e5 (patch)
tree04173c392cd4714fa55affd85ca78fcd032a8244 /src
parente3d6e8882e02d607ed69108d4bc1301de9c2de56 (diff)
downloadgem5-a767819d56c1a42ed3581bd63df384f8daa342e5.tar.xz
serialize: Allow floats and doubles to be serialized
Diffstat (limited to 'src')
-rw-r--r--src/sim/serialize.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sim/serialize.cc b/src/sim/serialize.cc
index ee9b04236..481b9af3b 100644
--- a/src/sim/serialize.cc
+++ b/src/sim/serialize.cc
@@ -351,6 +351,8 @@ INSTANTIATE_PARAM_TEMPLATES(unsigned long)
INSTANTIATE_PARAM_TEMPLATES(signed long long)
INSTANTIATE_PARAM_TEMPLATES(unsigned long long)
INSTANTIATE_PARAM_TEMPLATES(bool)
+INSTANTIATE_PARAM_TEMPLATES(float)
+INSTANTIATE_PARAM_TEMPLATES(double)
INSTANTIATE_PARAM_TEMPLATES(string)