misc: Remove any reference to the ALPHA ISA
Change-Id: Ie761cd69ae0e8e632ca2b92e63a404e8804f0e6f Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30015 Maintainer: Jason Lowe-Power <power.jg@gmail.com> Reviewed-by: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -102,7 +102,6 @@ sim-power: Power modeling
|
||||
stats: Updates to statistics for regressions
|
||||
|
||||
system: System boot code and related components
|
||||
system-alpha:
|
||||
system-arm:
|
||||
Andreas Sandberg <andreas.sandberg@arm.com>
|
||||
Giacomo Travaglini <giacomo.travaglini@arm.com>
|
||||
|
||||
@@ -988,7 +988,7 @@ all_isa_list.sort()
|
||||
all_gpu_isa_list.sort()
|
||||
|
||||
sticky_vars.AddVariables(
|
||||
EnumVariable('TARGET_ISA', 'Target ISA', 'alpha', all_isa_list),
|
||||
EnumVariable('TARGET_ISA', 'Target ISA', 'null', all_isa_list),
|
||||
EnumVariable('TARGET_GPU_ISA', 'Target GPU ISA', 'hsail', all_gpu_isa_list),
|
||||
ListVariable('CPU_MODELS', 'CPU models',
|
||||
sorted(n for n,m in CpuModel.dict.items() if m.default),
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __KERN_MIPS_IDLE_EVENT_HH__
|
||||
#define __KERN_MIPS_IDLE_EVENT_HH__
|
||||
#ifndef __ARCH_MIPS_IDLE_EVENT_HH__
|
||||
#define __ARCH_MIPS_IDLE_EVENT_HH__
|
||||
|
||||
#include "cpu/pc_event.hh"
|
||||
|
||||
@@ -40,4 +40,4 @@ class IdleStartEvent : public PCEvent
|
||||
virtual void process(ThreadContext *tc);
|
||||
};
|
||||
|
||||
#endif // __KERN_ALPHA_IDLE_EVENT_HH__
|
||||
#endif // __ARCH_MIPS_IDLE_EVENT_HH__
|
||||
|
||||
@@ -46,7 +46,7 @@ class Statistics : public ::Kernel::Statistics
|
||||
{}
|
||||
};
|
||||
|
||||
} // namespace AlphaISA::Kernel
|
||||
} // namespace AlphaISA
|
||||
} // namespace SparcISA::Kernel
|
||||
} // namespace SparcISA
|
||||
|
||||
#endif // __ARCH_SPARC_KERNEL_STATS_HH__
|
||||
|
||||
@@ -93,95 +93,59 @@ test-insttest-rv64i-linux-DerivO3CPU-RISCV-i386-fast
|
||||
test-insttest-linux-AtomicSimpleCPU-SPARC-i386-fast
|
||||
test-insttest-linux-TimingSimpleCPU-SPARC-i386-fast
|
||||
test-hello-linux-MinorCPU-RISCV-x86_64-debug
|
||||
test-hello-linux-MinorCPU-ALPHA-x86_64-debug
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-x86_64-debug
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-x86_64-debug
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-x86_64-debug
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-x86_64-debug
|
||||
test-hello-linux-DerivO3CPU-MIPS-x86_64-debug
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-x86_64-debug
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-x86_64-debug
|
||||
test-hello-linux-DerivO3CPU-ALPHA-x86_64-debug
|
||||
test-hello-linux-MinorCPU-RISCV-x86_64-fast
|
||||
test-hello-linux-MinorCPU-ALPHA-x86_64-fast
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-x86_64-fast
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-x86_64-fast
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-x86_64-fast
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-x86_64-fast
|
||||
test-hello-linux-DerivO3CPU-MIPS-x86_64-fast
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-x86_64-fast
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-x86_64-fast
|
||||
test-hello-linux-DerivO3CPU-ALPHA-x86_64-fast
|
||||
test-hello-linux-MinorCPU-RISCV-x86_64-opt
|
||||
test-hello-linux-MinorCPU-ALPHA-x86_64-opt
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-x86_64-opt
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-x86_64-opt
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-x86_64-opt
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-x86_64-opt
|
||||
test-hello-linux-DerivO3CPU-MIPS-x86_64-opt
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-x86_64-opt
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-x86_64-opt
|
||||
test-hello-linux-DerivO3CPU-ALPHA-x86_64-opt
|
||||
test-hello-linux-MinorCPU-RISCV-arch64-debug
|
||||
test-hello-linux-MinorCPU-ALPHA-arch64-debug
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-arch64-debug
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-arch64-debug
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-arch64-debug
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-arch64-debug
|
||||
test-hello-linux-DerivO3CPU-MIPS-arch64-debug
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-arch64-debug
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-arch64-debug
|
||||
test-hello-linux-DerivO3CPU-ALPHA-arch64-debug
|
||||
test-hello-linux-MinorCPU-RISCV-arch64-fast
|
||||
test-hello-linux-MinorCPU-ALPHA-arch64-fast
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-arch64-fast
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-arch64-fast
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-arch64-fast
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-arch64-fast
|
||||
test-hello-linux-DerivO3CPU-MIPS-arch64-fast
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-arch64-fast
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-arch64-fast
|
||||
test-hello-linux-DerivO3CPU-ALPHA-arch64-fast
|
||||
test-hello-linux-MinorCPU-RISCV-arch64-opt
|
||||
test-hello-linux-MinorCPU-ALPHA-arch64-opt
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-arch64-opt
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-arch64-opt
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-arch64-opt
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-arch64-opt
|
||||
test-hello-linux-DerivO3CPU-MIPS-arch64-opt
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-arch64-opt
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-arch64-opt
|
||||
test-hello-linux-DerivO3CPU-ALPHA-arch64-opt
|
||||
test-hello-linux-MinorCPU-RISCV-i386-debug
|
||||
test-hello-linux-MinorCPU-ALPHA-i386-debug
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-i386-debug
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-i386-debug
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-i386-debug
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-i386-debug
|
||||
test-hello-linux-DerivO3CPU-MIPS-i386-debug
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-i386-debug
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-i386-debug
|
||||
test-hello-linux-DerivO3CPU-ALPHA-i386-debug
|
||||
test-hello-linux-MinorCPU-RISCV-i386-fast
|
||||
test-hello-linux-MinorCPU-ALPHA-i386-fast
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-i386-fast
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-i386-fast
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-i386-fast
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-i386-fast
|
||||
test-hello-linux-DerivO3CPU-MIPS-i386-fast
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-i386-fast
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-i386-fast
|
||||
test-hello-linux-DerivO3CPU-ALPHA-i386-fast
|
||||
test-hello-linux-MinorCPU-RISCV-i386-opt
|
||||
test-hello-linux-MinorCPU-ALPHA-i386-opt
|
||||
test-hello-linux-TimingSimpleCPU-SPARC-i386-opt
|
||||
test-hello-linux-AtomicSimpleCPU-SPARC-i386-opt
|
||||
test-hello-linux-TimingSimpleCPU-MIPS-i386-opt
|
||||
test-hello-linux-AtomicSimpleCPU-MIPS-i386-opt
|
||||
test-hello-linux-DerivO3CPU-MIPS-i386-opt
|
||||
test-hello-linux-TimingSimpleCPU-ALPHA-i386-opt
|
||||
test-hello-linux-AtomicSimpleCPU-ALPHA-i386-opt
|
||||
test-hello-linux-DerivO3CPU-ALPHA-i386-opt
|
||||
test-atomic-DerivO3CPU-SPARC-x86_64-opt
|
||||
test-atomic-TimingSimpleCPU-SPARC-x86_64-opt
|
||||
test-atomic-DerivO3CPU-SPARC-x86_64-debug
|
||||
|
||||
@@ -47,7 +47,6 @@ from testlib import *
|
||||
static_progs = {
|
||||
'x86': ('hello64-static', 'hello32-static'),
|
||||
'arm': ('hello64-static', 'hello32-static'),
|
||||
'alpha': ('hello',),
|
||||
'mips': ('hello',),
|
||||
'riscv': ('hello',),
|
||||
'sparc': ('hello',)
|
||||
@@ -60,7 +59,6 @@ dynamic_progs = {
|
||||
cpu_types = {
|
||||
'x86': ('TimingSimpleCPU', 'AtomicSimpleCPU', 'DerivO3CPU'),
|
||||
'arm' : ('TimingSimpleCPU', 'AtomicSimpleCPU','DerivO3CPU'),
|
||||
'alpha': ('TimingSimpleCPU', 'AtomicSimpleCPU', 'DerivO3CPU', 'MinorCPU'),
|
||||
'mips' : ('TimingSimpleCPU', 'AtomicSimpleCPU', 'DerivO3CPU'),
|
||||
'riscv' : ('TimingSimpleCPU', 'AtomicSimpleCPU', 'DerivO3CPU', 'MinorCPU'),
|
||||
'sparc' : ('TimingSimpleCPU', 'AtomicSimpleCPU')
|
||||
@@ -69,7 +67,6 @@ cpu_types = {
|
||||
supported_os = {
|
||||
'x86': ('linux',),
|
||||
'arm' : ('linux',),
|
||||
'alpha' : ('linux',),
|
||||
'mips' : ('linux',),
|
||||
'riscv' : ('linux',),
|
||||
'sparc' : ('linux',)
|
||||
|
||||
@@ -81,17 +81,6 @@ ClassicConfig = namedtuple("ClassicConfig", (
|
||||
# original name. See get_tests() for details.
|
||||
#
|
||||
arch_configs = {
|
||||
("alpha", None) : (
|
||||
'tsunami-simple-atomic',
|
||||
'tsunami-simple-timing',
|
||||
'tsunami-simple-atomic-dual',
|
||||
'tsunami-simple-timing-dual',
|
||||
'twosys-tsunami-simple-atomic',
|
||||
'tsunami-o3', 'tsunami-o3-dual',
|
||||
'tsunami-minor', 'tsunami-minor-dual',
|
||||
'tsunami-switcheroo-full',
|
||||
),
|
||||
|
||||
("arm", None) : (
|
||||
'simple-atomic-dummychecker',
|
||||
'o3-timing-checker',
|
||||
|
||||
@@ -55,11 +55,11 @@
|
||||
#
|
||||
# Examples:
|
||||
#
|
||||
# util/checkpoint-tester.py -i 400000 -- build/ALPHA_SE/m5.opt \
|
||||
# configs/example/se.py -c tests/test-progs/hello/bin/alpha/tru64/hello \
|
||||
# util/checkpoint-tester.py -i 400000 -- build/<ISA>/m5.opt \
|
||||
# configs/example/se.py -c tests/test-progs/hello/bin/<isa>/tru64/hello \
|
||||
# --output=progout --errout=progerr
|
||||
#
|
||||
# util/checkpoint-tester.py -i 200000000000 -- build/ALPHA_FS/m5.opt \
|
||||
# util/checkpoint-tester.py -i 200000000000 -- build/<ISA>/m5.opt \
|
||||
# configs/example/fs.py --script tests/halt.sh
|
||||
#
|
||||
|
||||
|
||||
14
util/compile
14
util/compile
@@ -155,7 +155,6 @@ add_option('-a', "--all-bin", default=False, action='store_true',
|
||||
help="compile debug, opt, and fast binaries")
|
||||
|
||||
set_group("ISA options")
|
||||
bool_option("alpha", default=False, help="compile Alpha")
|
||||
bool_option("mips", default=False, help="compile MIPS")
|
||||
bool_option("sparc", default=False, help="compile SPARC")
|
||||
add_option('-i', "--all-isa", default=False, action='store_true',
|
||||
@@ -198,21 +197,15 @@ if not binaries:
|
||||
binaries.append('m5.debug')
|
||||
|
||||
if options.all_isa:
|
||||
options.alpha = True
|
||||
options.mips = True
|
||||
options.sparc = True
|
||||
|
||||
isas = []
|
||||
if options.alpha:
|
||||
isas.append('alpha')
|
||||
if options.mips:
|
||||
isas.append('mips')
|
||||
if options.sparc:
|
||||
isas.append('sparc')
|
||||
|
||||
if not isas:
|
||||
isas.append('alpha')
|
||||
|
||||
modes = []
|
||||
if options.syscall:
|
||||
modes.append('syscall')
|
||||
@@ -227,10 +220,9 @@ if not modes:
|
||||
#
|
||||
|
||||
# valid combinations of ISA and emulation mode
|
||||
valid = { ('alpha', 'syscall') : 'ALPHA_SE',
|
||||
('alpha', 'fullsys') : 'ALPHA_FS',
|
||||
('mips', 'syscall') : 'MIPS_SE',
|
||||
('sparc', 'syscall') : 'SPARC_SE' }
|
||||
valid = {
|
||||
('mips', 'syscall') : 'MIPS_SE',
|
||||
('sparc', 'syscall') : 'SPARC_SE' }
|
||||
|
||||
# experimental combinations of ISA and emulation mode
|
||||
experiment = { ('mips', 'fullsys') : 'MIPS_FS',
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
def upgrader(cpt):
|
||||
isa = cpt.get('root','isa')
|
||||
isa_fields = {
|
||||
"alpha" : ( "fpcr", "uniq", "lock_flag", "lock_addr", "ipr" ),
|
||||
"arm" : ( "miscRegs" ),
|
||||
"sparc" : ( "asi", "tick", "fprs", "gsr", "softint", "tick_cmpr",
|
||||
"stick", "stick_cmpr", "tpc", "tnpc", "tstate", "tt",
|
||||
|
||||
@@ -88,13 +88,13 @@ def _validateTags(commit_header):
|
||||
# @todo this is error prone, and should be extracted automatically from
|
||||
# a file
|
||||
|
||||
valid_tags = ["arch", "arch-alpha", "arch-arm", "arch-gcn3", "arch-hsail",
|
||||
valid_tags = ["arch", "arch-arm", "arch-gcn3", "arch-hsail",
|
||||
"arch-mips", "arch-power", "arch-riscv", "arch-sparc", "arch-x86",
|
||||
"base", "configs", "cpu", "cpu-kvm", "cpu-minor", "cpu-o3",
|
||||
"cpu-simple", "dev", "dev-arm", "dev-virtio", "ext", "fastmodel",
|
||||
"gpu-compute", "learning-gem5", "mem", "mem-cache", "mem-garnet",
|
||||
"mem-ruby", "misc", "python", "scons", "sim", "sim-se", "sim-power",
|
||||
"stats", "system", "system-alpha", "system-arm", "systemc", "tests",
|
||||
"stats", "system", "system-arm", "systemc", "tests",
|
||||
"util", "RFC", "WIP"]
|
||||
|
||||
tags = ''.join(commit_header.split(':')[0].split()).split(',')
|
||||
|
||||
Reference in New Issue
Block a user