summaryrefslogtreecommitdiff
path: root/arch/mips/isa_traits.cc
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-04-28 03:05:11 -0400
committerKorey Sewell <ksewell@umich.edu>2006-04-28 03:05:11 -0400
commit2d077df1a0bbef0ec6ed4f89132c70d6d870a8d9 (patch)
treef836e385365ef50646846acc6aa7a944f8ae7178 /arch/mips/isa_traits.cc
parenta183f66a8ad2a1ac822b07d9b399a3a3e6d3cb5c (diff)
downloadgem5-2d077df1a0bbef0ec6ed4f89132c70d6d870a8d9.tar.xz
More Modest Changes for FP MIPS execution...
arch/mips/isa/decoder.isa: Fix Reg. Operands for FP Conversion Instructions - Must Make Sure That You use 'uw' or 'ud' as needed. arch/mips/isa_traits.cc: if a conversion function isnt implemented yet, than have M5 panic... (plan to implement SINGLE_TO_DOUBLE first) --HG-- extra : convert_revision : 6a7f703a5d65139d3981a8753c31fc8f5bf313cf
Diffstat (limited to 'arch/mips/isa_traits.cc')
-rw-r--r--arch/mips/isa_traits.cc17
1 files changed, 1 insertions, 16 deletions
diff --git a/arch/mips/isa_traits.cc b/arch/mips/isa_traits.cc
index d23cdf367..648e9ac62 100644
--- a/arch/mips/isa_traits.cc
+++ b/arch/mips/isa_traits.cc
@@ -41,26 +41,11 @@ MipsISA::convert_and_round(uint64_t fp_val, ConvertType cvt_type, int rnd_mode)
switch (cvt_type)
{
case SINGLE_TO_DOUBLE:
- break;
-
- case SINGLE_TO_WORD:
- break;
-
- case SINGLE_TO_LONG:
- break;
-
- case DOUBLE_TO_SINGLE:
-
- break;
-
- case LONG_TO_SINGLE:
- break;
- case WORD_TO_SINGLE:
break;
default:
- panic("Invalid Floating Point Conversion type being used.\n");
+ panic("Invalid Floating Point Conversion Type (%d) being used.\n",cvt_type);
}
return ret_val;