summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-10-16 18:06:17 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-10-16 18:06:17 -0700
commit6010f350a48c9d8f049fd82d27c188ed1ebe77ed (patch)
tree3c7b0b2c44ad2d1b46069779ffb61c65f0c2860c
parente87336cc6001b8d4a2bcef70dd8cb8a56ea5f491 (diff)
downloadgem5-6010f350a48c9d8f049fd82d27c188ed1ebe77ed.tar.xz
X86: Add a bzip2 regression.
--HG-- extra : convert_revision : 4bf3f68dbef033e5d4984299bb4aa728fa0d1f8d
-rw-r--r--tests/long/60.bzip2/ref/x86/linux/simple-atomic/config.ini80
-rw-r--r--tests/long/60.bzip2/ref/x86/linux/simple-atomic/m5stats.txt18
-rw-r--r--tests/long/60.bzip2/ref/x86/linux/simple-atomic/stderr8
-rw-r--r--tests/long/60.bzip2/ref/x86/linux/simple-atomic/stdout27
4 files changed, 133 insertions, 0 deletions
diff --git a/tests/long/60.bzip2/ref/x86/linux/simple-atomic/config.ini b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/config.ini
new file mode 100644
index 000000000..322bfab4b
--- /dev/null
+++ b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/config.ini
@@ -0,0 +1,80 @@
+[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=bzip2 input.source 1
+cwd=build/X86_SE/tests/fast/long/60.bzip2/x86/linux/simple-atomic
+egid=100
+env=
+euid=100
+executable=/dist/m5/cpu2000/binaries/x86/linux/bzip2
+gid=100
+input=cin
+max_stack_size=67108864
+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/long/60.bzip2/ref/x86/linux/simple-atomic/m5stats.txt b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/m5stats.txt
new file mode 100644
index 000000000..4acaf7ae7
--- /dev/null
+++ b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/m5stats.txt
@@ -0,0 +1,18 @@
+
+---------- Begin Simulation Statistics ----------
+host_inst_rate 1030685 # Simulator instruction rate (inst/s)
+host_mem_usage 175732 # Number of bytes of host memory used
+host_seconds 4491.39 # Real time elapsed on the host
+host_tick_rate 628581745 # Simulator tick rate (ticks/s)
+sim_freq 1000000000000 # Frequency of simulated ticks
+sim_insts 4629206417 # Number of instructions simulated
+sim_seconds 2.823204 # Number of seconds simulated
+sim_ticks 2823203650000 # 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 5646407301 # number of cpu cycles simulated
+system.cpu.num_insts 4629206417 # Number of instructions executed
+system.cpu.num_refs 1686312529 # Number of memory references
+system.cpu.workload.PROG:num_syscalls 33 # Number of system calls
+
+---------- End Simulation Statistics ----------
diff --git a/tests/long/60.bzip2/ref/x86/linux/simple-atomic/stderr b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/stderr
new file mode 100644
index 000000000..46a429e22
--- /dev/null
+++ b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/stderr
@@ -0,0 +1,8 @@
+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
+warn: Increasing stack size by one page.
+warn: Increasing stack size by one page.
+warn: Increasing stack size by one page.
diff --git a/tests/long/60.bzip2/ref/x86/linux/simple-atomic/stdout b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/stdout
new file mode 100644
index 000000000..78d5f1124
--- /dev/null
+++ b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/stdout
@@ -0,0 +1,27 @@
+spec_init
+Loading Input Data
+Input data 1048576 bytes in length
+Compressing Input Data, level 7
+Compressed data 198546 bytes in length
+Uncompressing Data
+Uncompressed data 1048576 bytes in length
+Uncompressed data compared correctly
+Compressing Input Data, level 9
+Compressed data 198677 bytes in length
+Uncompressing Data
+Uncompressed data 1048576 bytes in length
+Uncompressed data compared correctly
+Tested 1MB buffer: OK!
+M5 Simulator System
+
+Copyright (c) 2001-2006
+The Regents of The University of Michigan
+All Rights Reserved
+
+
+M5 compiled Oct 15 2007 20:49:03
+M5 started Tue Oct 16 16:42:54 2007
+M5 executing on nacho
+command line: build/X86_SE/m5.fast -d build/X86_SE/tests/fast/long/60.bzip2/x86/linux/simple-atomic tests/run.py long/60.bzip2/x86/linux/simple-atomic
+Global frequency set at 1000000000000 ticks per second
+Exiting @ tick 2823203650000 because target called exit()