summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorLisa Hsu <Lisa.Hsu@amd.com>2011-03-19 21:13:02 -0700
committerLisa Hsu <Lisa.Hsu@amd.com>2011-03-19 21:13:02 -0700
commit0e75e3fd5fec6655545b212ed97acbe2eb9f3770 (patch)
tree0df13133d683a209fad02f4164b0e0db241d4577 /configs
parent5103c6fe88651ac4318a0d5b5d3a5e58f9f2fa04 (diff)
downloadgem5-0e75e3fd5fec6655545b212ed97acbe2eb9f3770.tar.xz
enable x86 workloads on se.py
Diffstat (limited to 'configs')
-rw-r--r--configs/example/se.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/configs/example/se.py b/configs/example/se.py
index 8076e1602..2491a32e4 100644
--- a/configs/example/se.py
+++ b/configs/example/se.py
@@ -87,13 +87,13 @@ if options.bench:
for app in apps:
try:
- if buildEnv['TARGET_ISA'] != 'alpha':
- print >>sys.stderr, "Simpoints code only works for Alpha ISA at this time"
- sys.exit(1)
- exec("workload = %s('alpha', 'tru64', 'ref')" % app)
+ if buildEnv['TARGET_ISA'] == 'alpha':
+ exec("workload = %s('alpha', 'tru64', 'ref')" % app)
+ else:
+ exec("workload = %s(buildEnv['TARGET_ISA'], 'linux', 'ref')" % app)
multiprocesses.append(workload.makeLiveProcess())
except:
- print >>sys.stderr, "Unable to find workload for %s" % app
+ print >>sys.stderr, "Unable to find workload for %s: %s" % (buildEnv['TARGET_ISA'], app)
sys.exit(1)
else:
process = LiveProcess()