summaryrefslogtreecommitdiff
path: root/src/arch/arm/utility.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-06-21 09:43:55 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-06-21 09:43:55 -0700
commit7d4ef8a398343800819930df97fcd79f7a9ba099 (patch)
tree21d36233e721823b8dd3eb2512999d2525442ece /src/arch/arm/utility.hh
parent5bc137305071d7fe3dd0adbd5f7472535b614693 (diff)
downloadgem5-7d4ef8a398343800819930df97fcd79f7a9ba099.tar.xz
ARM: Clear out some inherited hangers on in util.isa and utility.hh.
Diffstat (limited to 'src/arch/arm/utility.hh')
-rw-r--r--src/arch/arm/utility.hh24
1 files changed, 7 insertions, 17 deletions
diff --git a/src/arch/arm/utility.hh b/src/arch/arm/utility.hh
index a31fcd841..163cc6e33 100644
--- a/src/arch/arm/utility.hh
+++ b/src/arch/arm/utility.hh
@@ -35,13 +35,9 @@
#include "arch/arm/miscregs.hh"
#include "arch/arm/types.hh"
-#include "base/misc.hh"
#include "base/types.hh"
-#include "config/full_system.hh"
#include "cpu/thread_context.hh"
-class ThreadContext;
-
namespace ArmISA {
inline bool
@@ -70,19 +66,6 @@ namespace ArmISA {
}
}
- //Floating Point Utility Functions
- uint64_t fpConvert(ConvertType cvt_type, double fp_val);
- double roundFP(double val, int digits);
- double truncFP(double val);
-
- bool getCondCode(uint32_t fcsr, int cc);
- uint32_t genCCVector(uint32_t fcsr, int num, uint32_t cc_val);
- uint32_t genInvalidVector(uint32_t fcsr);
-
- bool isNan(void *val_ptr, int size);
- bool isQnan(void *val_ptr, int size);
- bool isSnan(void *val_ptr, int size);
-
/**
* Function to insure ISA semantics about 0 registers.
* @param tc The thread context.
@@ -113,6 +96,13 @@ namespace ArmISA {
{
tc->activate(0);
}
+
+ template <class XC>
+ Fault
+ checkFpEnableFault(XC *xc)
+ {
+ return NoFault;
+ }
};