summaryrefslogtreecommitdiff
path: root/arch/mips/isa_traits.hh
diff options
context:
space:
mode:
authorKorey Sewell <ksewell@umich.edu>2006-05-11 03:26:19 -0400
committerKorey Sewell <ksewell@umich.edu>2006-05-11 03:26:19 -0400
commit80dee53b0430f829e8f9aff1a68c62e113f3ce24 (patch)
treebf8a7dd80abaebcbadc9908207e379f99bdc15fa /arch/mips/isa_traits.hh
parentc552b06a8caed6fe5ba8393b4c2f7e2199742bee (diff)
downloadgem5-80dee53b0430f829e8f9aff1a68c62e113f3ce24.tar.xz
Fixes for Paired-Single FP Compare Operations...
Now all the variations of FP should be implemented correctly in the decoder. The new formats and functions supporting these functions need to be implemented for some of the FP stuff but for the most part things are looking like their "supposed to"... arch/mips/isa/decoder.isa: Fixes for Paired-Single FP Compare Operations... Now all the variations of FP should be implemented correctly in the decoder. arch/mips/isa/formats/fp.isa: Add new PS formats arch/mips/isa_traits.cc: Add skeleton overloaded round & truncate functions arch/mips/isa_traits.hh: declare overloaded functions --HG-- extra : convert_revision : 15d5cf7b08ac2dc9ebcd6b268e92d4abffdd8597
Diffstat (limited to 'arch/mips/isa_traits.hh')
-rw-r--r--arch/mips/isa_traits.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/mips/isa_traits.hh b/arch/mips/isa_traits.hh
index 097736dda..6788806c1 100644
--- a/arch/mips/isa_traits.hh
+++ b/arch/mips/isa_traits.hh
@@ -138,10 +138,15 @@ namespace MipsISA
void copyRegs(ExecContext *src, ExecContext *dest);
uint64_t fpConvert(double fp_val, ConvertType cvt_type);
+
float roundFP(float val);
double roundFP(double val);
+ float roundFP(uint64_t val);
+
float truncFP(float val);
- float truncFP(float val);
+ double truncFP(uint64_t val);
+ double truncFP(double val);
+
bool unorderedFP(float val);
bool unorderedFP(double val);
bool getFPConditionCode(int cc);