diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2005-11-09 09:52:07 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2005-11-09 09:52:07 -0500 |
commit | e701cf48d97f58c7869ad4222157bdb2a5b44337 (patch) | |
tree | 0ef7b33ebed2da7a434db4a8f44094cf4c133149 /arch | |
parent | 902e27e692f613df58d6a1a3bcb1becf8bb7add9 (diff) | |
download | gem5-e701cf48d97f58c7869ad4222157bdb2a5b44337.tar.xz |
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
Diffstat (limited to 'arch')
-rw-r--r-- | arch/alpha/isa_desc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |