From e701cf48d97f58c7869ad4222157bdb2a5b44337 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Wed, 9 Nov 2005 09:52:07 -0500 Subject: A couple of FP-related fixes (prompted by Adam having trouble running SPEC FP codes). arch/alpha/isa_desc: Don't warn about non-standard trapping modes more than once per static instruction. (Had the flag to suppress these but forgot to check it!) build/SConstruct: Add USE_SSE2 option to enable compiling w/SSE2 (important for getting IEEE-compliant FP on x86). --HG-- extra : convert_revision : eac69efb28cce7b48035480d8b7cb004782969f4 --- arch/alpha/isa_desc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arch/alpha/isa_desc') diff --git a/arch/alpha/isa_desc b/arch/alpha/isa_desc index e80da6091..34e86c3a7 100644 --- a/arch/alpha/isa_desc +++ b/arch/alpha/isa_desc @@ -712,7 +712,7 @@ def template FloatingPointExecute {{ Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const { - if (trappingMode != Imprecise) { + if (trappingMode != Imprecise && !warnedOnTrapping) { warn("%s: non-standard trapping mode not supported", generateDisassembly(0, NULL)); warnedOnTrapping = true; @@ -755,7 +755,7 @@ def template FPFixedRoundingExecute {{ Fault %(class_name)s::execute(%(CPU_exec_context)s *xc, Trace::InstRecord *traceData) const { - if (trappingMode != Imprecise) { + if (trappingMode != Imprecise && !warnedOnTrapping) { warn("%s: non-standard trapping mode not supported", generateDisassembly(0, NULL)); warnedOnTrapping = true; -- cgit v1.2.3