summaryrefslogtreecommitdiff
path: root/arch/alpha/isa_desc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2005-11-09 09:52:07 -0500
committerSteve Reinhardt <stever@eecs.umich.edu>2005-11-09 09:52:07 -0500
commite701cf48d97f58c7869ad4222157bdb2a5b44337 (patch)
tree0ef7b33ebed2da7a434db4a8f44094cf4c133149 /arch/alpha/isa_desc
parent902e27e692f613df58d6a1a3bcb1becf8bb7add9 (diff)
downloadgem5-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/alpha/isa_desc')
-rw-r--r--arch/alpha/isa_desc4
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;