From: Lisa Hsu Date: Sun, 20 Mar 2011 04:13:02 +0000 (-0700) Subject: enable x86 workloads on se.py X-Git-Tag: stable_2012_02_02~456 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e75e3fd5fec6655545b212ed97acbe2eb9f3770;p=gem5.git enable x86 workloads on se.py --- 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()