diff options
Diffstat (limited to 'src/arch/arm/utility.hh')
-rw-r--r-- | src/arch/arm/utility.hh | 24 |
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; + } }; |