configs: Remove mentions of alpha from the configs.
authorGabe Black <gabeblack@google.com>
Thu, 23 Jan 2020 05:16:29 +0000 (21:16 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 13 Feb 2020 23:20:30 +0000 (23:20 +0000)
Change-Id: I09117b52c0c87679eaa72dbb79545dd1e77732b1
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24647
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
configs/common/Benchmarks.py
configs/common/FSConfig.py
configs/common/cpu2000.py
configs/example/fs.py
configs/example/se.py

index 9ed321ccf24f99114845af3cc0bdcc6ce5d81453..2961eebbb19038ecdba7581680ca69418b7c57a5 100644 (file)
@@ -57,8 +57,6 @@ class SysConfig:
     def disks(self):
         if self.disknames:
             return [disk(diskname) for diskname in self.disknames]
-        elif buildEnv['TARGET_ISA'] == 'alpha':
-            return [env.get('LINUX_IMAGE', disk('linux-latest.img'))]
         elif buildEnv['TARGET_ISA'] == 'x86':
             return [env.get('LINUX_IMAGE', disk('x86root.img'))]
         elif buildEnv['TARGET_ISA'] == 'arm':
index f21b1ecf5b169a333b70cb74b7d6b0a7b19b428d..61532a3ffb6e951644e36b3def42c9857755e466 100644 (file)
@@ -49,8 +49,7 @@ from .Benchmarks import *
 from . import ObjectList
 
 # Populate to reflect supported os types per target ISA
-os_types = { 'alpha' : [ 'linux' ],
-             'mips'  : [ 'linux' ],
+os_types = { 'mips'  : [ 'linux' ],
              'sparc' : [ 'linux' ],
              'x86'   : [ 'linux' ],
              'arm'   : [ 'linux',
@@ -99,64 +98,6 @@ def makeCowDisks(disk_paths):
         disks.append(disk)
     return disks
 
-def makeLinuxAlphaSystem(mem_mode, mdesc=None, ruby=False, cmdline=None):
-
-    class BaseTsunami(Tsunami):
-        ethernet = NSGigE(pci_bus=0, pci_dev=1, pci_func=0)
-        ide = IdeController(disks=Parent.disks,
-                            pci_func=0, pci_dev=0, pci_bus=0)
-
-    self = LinuxAlphaSystem()
-    if not mdesc:
-        # generic system
-        mdesc = SysConfig()
-    self.readfile = mdesc.script()
-
-    self.tsunami = BaseTsunami()
-
-    # Create the io bus to connect all device ports
-    self.iobus = IOXBar()
-    self.tsunami.attachIO(self.iobus)
-
-    self.tsunami.ide.pio = self.iobus.master
-
-    self.tsunami.ethernet.pio = self.iobus.master
-
-    if ruby:
-        # Store the dma devices for later connection to dma ruby ports.
-        # Append an underscore to dma_ports to avoid the SimObjectVector check.
-        self._dma_ports = [self.tsunami.ide.dma, self.tsunami.ethernet.dma]
-    else:
-        self.membus = MemBus()
-
-        # By default the bridge responds to all addresses above the I/O
-        # base address (including the PCI config space)
-        IO_address_space_base = 0x80000000000
-        self.bridge = Bridge(delay='50ns',
-                         ranges = [AddrRange(IO_address_space_base, Addr.max)])
-        self.bridge.master = self.iobus.slave
-        self.bridge.slave = self.membus.master
-
-        self.tsunami.ide.dma = self.iobus.slave
-        self.tsunami.ethernet.dma = self.iobus.slave
-
-        self.system_port = self.membus.slave
-
-    self.mem_ranges = [AddrRange(mdesc.mem())]
-    self.disks = makeCowDisks(mdesc.disks())
-    self.simple_disk = SimpleDisk(disk=RawDiskImage(
-        image_file = mdesc.disks()[0], read_only = True))
-    self.intrctrl = IntrControl()
-    self.mem_mode = mem_mode
-    self.terminal = Terminal()
-    self.pal = binary('ts_osfpal')
-    self.console = binary('console')
-    if not cmdline:
-        cmdline = 'root=/dev/hda1 console=ttyS0'
-    self.boot_osflags = fillInCmdline(mdesc, cmdline)
-
-    return self
-
 def makeSparcSystem(mem_mode, mdesc=None, cmdline=None):
     # Constants from iob.cc and uart8250.cc
     iob_man_addr = 0x9800000000
index 730a478783d6df722953b6002742f655ce952db5..a5478e849acd03c8c71de7381060cfe099e83568 100644 (file)
@@ -666,7 +666,7 @@ class vortex(Benchmark):
     stdin = None
 
     def __init__(self, isa, os, input_set):
-        if (isa in ('alpha', 'arm', 'thumb', 'aarch64')):
+        if (isa in ('arm', 'thumb', 'aarch64')):
             self.endian = 'lendian'
         elif (isa == 'sparc' or isa == 'sparc32'):
             self.endian = 'bendian'
@@ -751,7 +751,7 @@ if __name__ == '__main__':
     for bench in all:
         for input_set in 'ref', 'test', 'train':
             print('class: %s' % bench.__name__)
-            x = bench('alpha', 'tru64', input_set)
+            x = bench('x86', 'linux', input_set)
             print('%s: %s' % (x, input_set))
             pprint(x.makeProcessArgs())
             print()
index c9ae60e35a7be6ce80f662e0effffe2cec8589fa..13225a2ab498ab13f206ec1c36c9a26790cb58f3 100644 (file)
@@ -81,10 +81,7 @@ def cmd_line_template():
 
 def build_test_system(np):
     cmdline = cmd_line_template()
-    if buildEnv['TARGET_ISA'] == "alpha":
-        test_sys = makeLinuxAlphaSystem(test_mem_mode, bm[0], options.ruby,
-                                        cmdline=cmdline)
-    elif buildEnv['TARGET_ISA'] == "mips":
+    if buildEnv['TARGET_ISA'] == "mips":
         test_sys = makeLinuxMipsSystem(test_mem_mode, bm[0], cmdline=cmdline)
     elif buildEnv['TARGET_ISA'] == "sparc":
         test_sys = makeSparcSystem(test_mem_mode, bm[0], cmdline=cmdline)
@@ -243,10 +240,7 @@ def build_drive_system(np):
     DriveMemClass = SimpleMemory
 
     cmdline = cmd_line_template()
-    if buildEnv['TARGET_ISA'] == 'alpha':
-        drive_sys = makeLinuxAlphaSystem(drive_mem_mode, bm[1],
-                                         cmdline=cmdline)
-    elif buildEnv['TARGET_ISA'] == 'mips':
+    if buildEnv['TARGET_ISA'] == 'mips':
         drive_sys = makeLinuxMipsSystem(drive_mem_mode, bm[1], cmdline=cmdline)
     elif buildEnv['TARGET_ISA'] == 'sparc':
         drive_sys = makeSparcSystem(drive_mem_mode, bm[1], cmdline=cmdline)
index 1d4de1a8585b1dc773ca1dfe13fd6f2cad1359fd..5847faf485687a6f063ee2b1d5e576bee6200d88 100644 (file)
@@ -143,10 +143,7 @@ if options.bench:
 
     for app in apps:
         try:
-            if buildEnv['TARGET_ISA'] == 'alpha':
-                exec("workload = %s('alpha', 'tru64', '%s')" % (
-                        app, options.spec_input))
-            elif buildEnv['TARGET_ISA'] == 'arm':
+            if buildEnv['TARGET_ISA'] == 'arm':
                 exec("workload = %s('arm_%s', 'linux', '%s')" % (
                         app, options.arm_iset, options.spec_input))
             else: