diff options
Diffstat (limited to 'src/arch/power')
-rw-r--r-- | src/arch/power/isa/includes.isa | 2 | ||||
-rw-r--r-- | src/arch/power/types.hh | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/arch/power/isa/includes.isa b/src/arch/power/isa/includes.isa index f6292eaab..ed2076d62 100644 --- a/src/arch/power/isa/includes.isa +++ b/src/arch/power/isa/includes.isa @@ -66,7 +66,6 @@ output decoder {{ #include "cpu/thread_context.hh" using namespace PowerISA; -using std::isnan; }}; output exec {{ @@ -87,6 +86,5 @@ output exec {{ #include "sim/sim_exit.hh" using namespace PowerISA; -using std::isnan; }}; diff --git a/src/arch/power/types.hh b/src/arch/power/types.hh index 071b4b439..a5d204827 100644 --- a/src/arch/power/types.hh +++ b/src/arch/power/types.hh @@ -89,7 +89,7 @@ typedef GenericISA::SimplePCState<MachInst> PCState; } // PowerISA namespace -namespace __hash_namespace { +__hash_namespace_begin template<> struct hash<PowerISA::ExtMachInst> : public hash<uint32_t> { @@ -98,6 +98,6 @@ struct hash<PowerISA::ExtMachInst> : public hash<uint32_t> { }; }; -} // namespace __hash_namespace +__hash_namespace_end #endif // __ARCH_POWER_TYPES_HH__ |