summaryrefslogtreecommitdiff
path: root/tests/quick/00.hello/ref/x86
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-10-12 13:16:24 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-10-12 13:16:24 -0700
commit8b35bd6fe79ce069428431a4edbe43b8373f7e87 (patch)
tree70612fbbb40f6aec93f7af373deda6a6dde11c56 /tests/quick/00.hello/ref/x86
parentc648044100d2b530911dcf7e193c299d674bee13 (diff)
downloadgem5-8b35bd6fe79ce069428431a4edbe43b8373f7e87.tar.xz
X86: Add 5 new x86 regressions.
--HG-- extra : convert_revision : 02f93ab039144b4586983ab76d27b7d051643e0e
Diffstat (limited to 'tests/quick/00.hello/ref/x86')
-rw-r--r--tests/quick/00.hello/ref/x86/linux/simple-atomic/config.ini79
-rw-r--r--tests/quick/00.hello/ref/x86/linux/simple-atomic/m5stats.txt18
-rw-r--r--tests/quick/00.hello/ref/x86/linux/simple-atomic/stderr5
-rw-r--r--tests/quick/00.hello/ref/x86/linux/simple-atomic/stdout14
4 files changed, 116 insertions, 0 deletions
diff --git a/tests/quick/00.hello/ref/x86/linux/simple-atomic/config.ini b/tests/quick/00.hello/ref/x86/linux/simple-atomic/config.ini
new file mode 100644
index 000000000..4d7368dfa
--- /dev/null
+++ b/tests/quick/00.hello/ref/x86/linux/simple-atomic/config.ini
@@ -0,0 +1,79 @@
+[root]
+type=Root
+children=system
+dummy=0
+
+[system]
+type=System
+children=cpu membus physmem
+mem_mode=atomic
+physmem=system.physmem
+
+[system.cpu]
+type=AtomicSimpleCPU
+children=dtb itb tracer workload
+clock=500
+cpu_id=0
+defer_registration=false
+dtb=system.cpu.dtb
+function_trace=false
+function_trace_start=0
+itb=system.cpu.itb
+max_insts_all_threads=0
+max_insts_any_thread=0
+max_loads_all_threads=0
+max_loads_any_thread=0
+phase=0
+progress_interval=0
+simulate_stalls=false
+system=system
+tracer=system.cpu.tracer
+width=1
+workload=system.cpu.workload
+dcache_port=system.membus.port[2]
+icache_port=system.membus.port[1]
+
+[system.cpu.dtb]
+type=X86DTB
+size=64
+
+[system.cpu.itb]
+type=X86ITB
+size=64
+
+[system.cpu.tracer]
+type=ExeTracer
+
+[system.cpu.workload]
+type=LiveProcess
+cmd=hello
+cwd=
+egid=100
+env=
+euid=100
+executable=/dist/m5/regression/test-progs/hello/bin/x86/linux/hello
+gid=100
+input=cin
+output=cout
+pid=100
+ppid=99
+system=system
+uid=100
+
+[system.membus]
+type=Bus
+block_size=64
+bus_id=0
+clock=1000
+responder_set=false
+width=64
+port=system.physmem.port[0] system.cpu.icache_port system.cpu.dcache_port
+
+[system.physmem]
+type=PhysicalMemory
+file=
+latency=1
+range=0:134217727
+zero=false
+port=system.membus.port[0]
+
diff --git a/tests/quick/00.hello/ref/x86/linux/simple-atomic/m5stats.txt b/tests/quick/00.hello/ref/x86/linux/simple-atomic/m5stats.txt
new file mode 100644
index 000000000..c96bd58dd
--- /dev/null
+++ b/tests/quick/00.hello/ref/x86/linux/simple-atomic/m5stats.txt
@@ -0,0 +1,18 @@
+
+---------- Begin Simulation Statistics ----------
+host_inst_rate 66885 # Simulator instruction rate (inst/s)
+host_mem_usage 172164 # Number of bytes of host memory used
+host_seconds 0.13 # Real time elapsed on the host
+host_tick_rate 38756587 # Simulator tick rate (ticks/s)
+sim_freq 1000000000000 # Frequency of simulated ticks
+sim_insts 8584 # Number of instructions simulated
+sim_seconds 0.000005 # Number of seconds simulated
+sim_ticks 4986500 # Number of ticks simulated
+system.cpu.idle_fraction 0 # Percentage of idle cycles
+system.cpu.not_idle_fraction 1 # Percentage of non-idle cycles
+system.cpu.numCycles 9974 # number of cpu cycles simulated
+system.cpu.num_insts 8584 # Number of instructions executed
+system.cpu.num_refs 1765 # Number of memory references
+system.cpu.workload.PROG:num_syscalls 11 # Number of system calls
+
+---------- End Simulation Statistics ----------
diff --git a/tests/quick/00.hello/ref/x86/linux/simple-atomic/stderr b/tests/quick/00.hello/ref/x86/linux/simple-atomic/stderr
new file mode 100644
index 000000000..863f1adb9
--- /dev/null
+++ b/tests/quick/00.hello/ref/x86/linux/simple-atomic/stderr
@@ -0,0 +1,5 @@
+0: system.remote_gdb.listener: listening for remote gdb on port 7000
+warn: Entering event queue @ 0. Starting simulation...
+warn: instruction 'fnstcw_Mw' unimplemented
+warn: instruction 'fldcw_Mw' unimplemented
+warn: instruction 'rdtsc' unimplemented
diff --git a/tests/quick/00.hello/ref/x86/linux/simple-atomic/stdout b/tests/quick/00.hello/ref/x86/linux/simple-atomic/stdout
new file mode 100644
index 000000000..b6ce114be
--- /dev/null
+++ b/tests/quick/00.hello/ref/x86/linux/simple-atomic/stdout
@@ -0,0 +1,14 @@
+Hello world!
+M5 Simulator System
+
+Copyright (c) 2001-2006
+The Regents of The University of Michigan
+All Rights Reserved
+
+
+M5 compiled Oct 12 2007 09:55:57
+M5 started Fri Oct 12 09:56:08 2007
+M5 executing on nacho
+command line: build/X86_SE/m5.fast -d build/X86_SE/tests/fast/quick/00.hello/x86/linux/simple-atomic tests/run.py quick/00.hello/x86/linux/simple-atomic
+Global frequency set at 1000000000000 ticks per second
+Exiting @ tick 4986500 because target called exit()