changeset bf358d99eff7 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=bf358d99eff7
description:
X86: Fix the microcode for sign/zero extending moves that use high byte
registers.
diffstat:
19 files changed, 29 insertions(+), 60 deletions(-)
src/arch/x86/isa/insts/general_purpose/data_transfer/move.py | 1 -
tests/long/00.gzip/ref/x86/linux/simple-atomic/m5stats.txt | 8 ++++----
tests/long/00.gzip/ref/x86/linux/simple-atomic/stderr | 2 +-
tests/long/00.gzip/ref/x86/linux/simple-atomic/stdout | 5 -----
tests/long/10.mcf/ref/x86/linux/simple-atomic/m5stats.txt | 8 ++++----
tests/long/10.mcf/ref/x86/linux/simple-atomic/stderr | 2 +-
tests/long/10.mcf/ref/x86/linux/simple-atomic/stdout | 5 -----
tests/long/20.parser/ref/x86/linux/simple-atomic/m5stats.txt | 8 ++++----
tests/long/20.parser/ref/x86/linux/simple-atomic/stderr | 2 +-
tests/long/20.parser/ref/x86/linux/simple-atomic/stdout | 5 -----
tests/long/60.bzip2/ref/x86/linux/simple-atomic/m5stats.txt | 8 ++++----
tests/long/60.bzip2/ref/x86/linux/simple-atomic/stderr | 2 +-
tests/long/60.bzip2/ref/x86/linux/simple-atomic/stdout | 5 -----
tests/long/70.twolf/ref/x86/linux/simple-atomic/m5stats.txt | 8 ++++----
tests/long/70.twolf/ref/x86/linux/simple-atomic/stderr | 2 +-
tests/long/70.twolf/ref/x86/linux/simple-atomic/stdout | 5 -----
tests/quick/00.hello/ref/x86/linux/simple-atomic/m5stats.txt | 6 +++---
tests/quick/00.hello/ref/x86/linux/simple-atomic/stderr | 2 +-
tests/quick/00.hello/ref/x86/linux/simple-atomic/stdout | 5 -----
diffs (truncated from 538 to 300 lines):
diff -r 6a27bc3fc267 -r bf358d99eff7
src/arch/x86/isa/insts/general_purpose/data_transfer/move.py
--- a/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py Tue Aug
26 02:37:26 2008 -0400
+++ b/src/arch/x86/isa/insts/general_purpose/data_transfer/move.py Wed Sep
03 00:52:54 2008 -0400
@@ -126,7 +126,8 @@
};
def macroop MOVSX_B_R_R {
- sexti reg, regm, 7
+ mov t1, t1, regm, dataSize=1
+ sexti reg, t1, 7
};
def macroop MOVSX_B_R_M {
@@ -160,7 +161,8 @@
#
def macroop MOVZX_B_R_R {
- zexti reg, regm, 7
+ mov t1, t1, regm, dataSize=1
+ zexti reg, t1, 7
};
def macroop MOVZX_B_R_M {
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/00.gzip/ref/x86/linux/simple-atomic/config.ini
--- a/tests/long/00.gzip/ref/x86/linux/simple-atomic/config.ini Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/00.gzip/ref/x86/linux/simple-atomic/config.ini Wed Sep 03
00:52:54 2008 -0400
@@ -23,6 +23,7 @@
max_insts_any_thread=0
max_loads_all_threads=0
max_loads_any_thread=0
+numThreads=1
phase=0
progress_interval=0
simulate_data_stalls=false
@@ -77,7 +78,7 @@
[system.physmem]
type=PhysicalMemory
file=
-latency=1
+latency=30000
latency_var=0
null=false
range=0:134217727
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/00.gzip/ref/x86/linux/simple-atomic/m5stats.txt
--- a/tests/long/00.gzip/ref/x86/linux/simple-atomic/m5stats.txt Tue Aug
26 02:37:26 2008 -0400
+++ b/tests/long/00.gzip/ref/x86/linux/simple-atomic/m5stats.txt Wed Sep
03 00:52:54 2008 -0400
@@ -1,17 +1,17 @@
---------- Begin Simulation Statistics ----------
-host_inst_rate 2111657 #
Simulator instruction rate (inst/s)
-host_mem_usage 206000 #
Number of bytes of host memory used
-host_seconds 759.59 #
Real time elapsed on the host
-host_tick_rate 1257375756 #
Simulator tick rate (ticks/s)
+host_inst_rate 1695420 #
Simulator instruction rate (inst/s)
+host_mem_usage 194768 #
Number of bytes of host memory used
+host_seconds 955.72 #
Real time elapsed on the host
+host_tick_rate 1007896114 #
Simulator tick rate (ticks/s)
sim_freq 1000000000000 #
Frequency of simulated ticks
-sim_insts 1603986018 #
Number of instructions simulated
-sim_seconds 0.955086 #
Number of seconds simulated
-sim_ticks 955086010500 #
Number of ticks simulated
+sim_insts 1620345246 #
Number of instructions simulated
+sim_seconds 0.963266 #
Number of seconds simulated
+sim_ticks 963265624500 #
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 1910172022 #
number of cpu cycles simulated
-system.cpu.num_insts 1603986018 #
Number of instructions executed
+system.cpu.numCycles 1926531250 #
number of cpu cycles simulated
+system.cpu.num_insts 1620345246 #
Number of instructions executed
system.cpu.num_refs 607160103 #
Number of memory references
system.cpu.workload.PROG:num_syscalls 48 #
Number of system calls
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/00.gzip/ref/x86/linux/simple-atomic/stderr
--- a/tests/long/00.gzip/ref/x86/linux/simple-atomic/stderr Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/00.gzip/ref/x86/linux/simple-atomic/stderr Wed Sep 03
00:52:54 2008 -0400
@@ -1,4 +1,4 @@
-0: system.remote_gdb.listener: listening for remote gdb on port 7001
+warn: Sockets disabled, not accepting gdb connections
warn: Entering event queue @ 0. Starting simulation...
warn: instruction 'fnstcw_Mw' unimplemented
warn: instruction 'fldcw_Mw' unimplemented
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/00.gzip/ref/x86/linux/simple-atomic/stdout
--- a/tests/long/00.gzip/ref/x86/linux/simple-atomic/stdout Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/00.gzip/ref/x86/linux/simple-atomic/stdout Wed Sep 03
00:52:54 2008 -0400
@@ -5,12 +5,12 @@
All Rights Reserved
-M5 compiled Jul 23 2008 16:08:41
-M5 started Wed Jul 23 16:08:42 2008
-M5 executing on blue
-M5 revision 5515:47bf96eec2c6221cf91de8a078897c1b5e46cfbf
-M5 commit date Wed Jul 23 15:35:08 2008 -0700
-command line: build/X86_SE/m5.fast -d
build/X86_SE/tests/fast/long/00.gzip/x86/linux/simple-atomic tests/run.py
long/00.gzip/x86/linux/simple-atomic
+M5 compiled Aug 31 2008 22:55:36
+M5 revision 5540:e8dde121a24fbf62092085d7d996cb8c965c3fe6
+M5 commit date Sun Aug 31 22:51:39 2008 -0400
+M5 started Aug 31 2008 22:56:04
+M5 executing on zizzer
+command line: build/X86_SE/m5.fast -d
build/X86_SE/tests/fast/long/00.gzip/x86/linux/simple-atomic -re --stdout-file
stdout --stderr-file stderr tests/run.py long/00.gzip/x86/linux/simple-atomic
Global frequency set at 1000000000000 ticks per second
spec_init
Loading Input Data
@@ -43,4 +43,4 @@
Uncompressed data 1048576 bytes in length
Uncompressed data compared correctly
Tested 1MB buffer: OK!
-Exiting @ tick 955086010500 because target called exit()
+Exiting @ tick 963265624500 because target called exit()
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/10.mcf/ref/x86/linux/simple-atomic/config.ini
--- a/tests/long/10.mcf/ref/x86/linux/simple-atomic/config.ini Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/10.mcf/ref/x86/linux/simple-atomic/config.ini Wed Sep 03
00:52:54 2008 -0400
@@ -23,6 +23,7 @@
max_insts_any_thread=0
max_loads_all_threads=0
max_loads_any_thread=0
+numThreads=1
phase=0
progress_interval=0
simulate_data_stalls=false
@@ -77,7 +78,7 @@
[system.physmem]
type=PhysicalMemory
file=
-latency=1
+latency=30000
latency_var=0
null=false
range=0:268435455
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/10.mcf/ref/x86/linux/simple-atomic/m5stats.txt
--- a/tests/long/10.mcf/ref/x86/linux/simple-atomic/m5stats.txt Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/10.mcf/ref/x86/linux/simple-atomic/m5stats.txt Wed Sep 03
00:52:54 2008 -0400
@@ -1,17 +1,17 @@
---------- Begin Simulation Statistics ----------
-host_inst_rate 2310204 #
Simulator instruction rate (inst/s)
-host_mem_usage 340492 #
Number of bytes of host memory used
-host_seconds 116.72 #
Real time elapsed on the host
-host_tick_rate 1419682765 #
Simulator tick rate (ticks/s)
+host_inst_rate 1382425 #
Simulator instruction rate (inst/s)
+host_mem_usage 329284 #
Number of bytes of host memory used
+host_seconds 195.09 #
Real time elapsed on the host
+host_tick_rate 849513127 #
Simulator tick rate (ticks/s)
sim_freq 1000000000000 #
Frequency of simulated ticks
-sim_insts 269654744 #
Number of instructions simulated
-sim_seconds 0.165710 #
Number of seconds simulated
-sim_ticks 165710415000 #
Number of ticks simulated
+sim_insts 269697420 #
Number of instructions simulated
+sim_seconds 0.165732 #
Number of seconds simulated
+sim_ticks 165731753000 #
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 331420831 #
number of cpu cycles simulated
-system.cpu.num_insts 269654744 #
Number of instructions executed
+system.cpu.numCycles 331463507 #
number of cpu cycles simulated
+system.cpu.num_insts 269697420 #
Number of instructions executed
system.cpu.num_refs 124054658 #
Number of memory references
system.cpu.workload.PROG:num_syscalls 444 #
Number of system calls
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/10.mcf/ref/x86/linux/simple-atomic/stderr
--- a/tests/long/10.mcf/ref/x86/linux/simple-atomic/stderr Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/10.mcf/ref/x86/linux/simple-atomic/stderr Wed Sep 03
00:52:54 2008 -0400
@@ -1,4 +1,4 @@
-0: system.remote_gdb.listener: listening for remote gdb on port 7002
+warn: Sockets disabled, not accepting gdb connections
warn: Entering event queue @ 0. Starting simulation...
warn: instruction 'fnstcw_Mw' unimplemented
warn: instruction 'fldcw_Mw' unimplemented
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/10.mcf/ref/x86/linux/simple-atomic/stdout
--- a/tests/long/10.mcf/ref/x86/linux/simple-atomic/stdout Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/10.mcf/ref/x86/linux/simple-atomic/stdout Wed Sep 03
00:52:54 2008 -0400
@@ -5,12 +5,12 @@
All Rights Reserved
-M5 compiled Jul 23 2008 16:08:41
-M5 started Wed Jul 23 16:09:15 2008
-M5 executing on blue
-M5 revision 5515:47bf96eec2c6221cf91de8a078897c1b5e46cfbf
-M5 commit date Wed Jul 23 15:35:08 2008 -0700
-command line: build/X86_SE/m5.fast -d
build/X86_SE/tests/fast/long/10.mcf/x86/linux/simple-atomic tests/run.py
long/10.mcf/x86/linux/simple-atomic
+M5 compiled Aug 31 2008 22:55:36
+M5 revision 5540:e8dde121a24fbf62092085d7d996cb8c965c3fe6
+M5 commit date Sun Aug 31 22:51:39 2008 -0400
+M5 started Aug 31 2008 22:56:01
+M5 executing on zizzer
+command line: build/X86_SE/m5.fast -d
build/X86_SE/tests/fast/long/10.mcf/x86/linux/simple-atomic -re --stdout-file
stdout --stderr-file stderr tests/run.py long/10.mcf/x86/linux/simple-atomic
Global frequency set at 1000000000000 ticks per second
MCF SPEC version 1.6.I
@@ -28,4 +28,4 @@
flow value : 3080014995
checksum : 68389
optimal
-Exiting @ tick 165710415000 because target called exit()
+Exiting @ tick 165731753000 because target called exit()
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/20.parser/ref/x86/linux/simple-atomic/config.ini
--- a/tests/long/20.parser/ref/x86/linux/simple-atomic/config.ini Tue Aug
26 02:37:26 2008 -0400
+++ b/tests/long/20.parser/ref/x86/linux/simple-atomic/config.ini Wed Sep
03 00:52:54 2008 -0400
@@ -23,6 +23,7 @@
max_insts_any_thread=0
max_loads_all_threads=0
max_loads_any_thread=0
+numThreads=1
phase=0
progress_interval=0
simulate_data_stalls=false
@@ -77,7 +78,7 @@
[system.physmem]
type=PhysicalMemory
file=
-latency=1
+latency=30000
latency_var=0
null=false
range=0:134217727
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/20.parser/ref/x86/linux/simple-atomic/m5stats.txt
--- a/tests/long/20.parser/ref/x86/linux/simple-atomic/m5stats.txt Tue Aug
26 02:37:26 2008 -0400
+++ b/tests/long/20.parser/ref/x86/linux/simple-atomic/m5stats.txt Wed Sep
03 00:52:54 2008 -0400
@@ -1,17 +1,17 @@
---------- Begin Simulation Statistics ----------
-host_inst_rate 2071310 #
Simulator instruction rate (inst/s)
-host_mem_usage 209664 #
Number of bytes of host memory used
-host_seconds 716.88 #
Real time elapsed on the host
-host_tick_rate 1204360345 #
Simulator tick rate (ticks/s)
+host_inst_rate 1780328 #
Simulator instruction rate (inst/s)
+host_mem_usage 198432 #
Number of bytes of host memory used
+host_seconds 840.01 #
Real time elapsed on the host
+host_tick_rate 1034139857 #
Simulator tick rate (ticks/s)
sim_freq 1000000000000 #
Frequency of simulated ticks
-sim_insts 1484872746 #
Number of instructions simulated
-sim_seconds 0.863378 #
Number of seconds simulated
-sim_ticks 863377516000 #
Number of ticks simulated
+sim_insts 1495492819 #
Number of instructions simulated
+sim_seconds 0.868688 #
Number of seconds simulated
+sim_ticks 868687552500 #
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 1726755033 #
number of cpu cycles simulated
-system.cpu.num_insts 1484872746 #
Number of instructions executed
+system.cpu.numCycles 1737375106 #
number of cpu cycles simulated
+system.cpu.num_insts 1495492819 #
Number of instructions executed
system.cpu.num_refs 533549003 #
Number of memory references
system.cpu.workload.PROG:num_syscalls 551 #
Number of system calls
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/20.parser/ref/x86/linux/simple-atomic/stderr
--- a/tests/long/20.parser/ref/x86/linux/simple-atomic/stderr Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/20.parser/ref/x86/linux/simple-atomic/stderr Wed Sep 03
00:52:54 2008 -0400
@@ -1,4 +1,4 @@
-0: system.remote_gdb.listener: listening for remote gdb on port 7004
+warn: Sockets disabled, not accepting gdb connections
warn: Entering event queue @ 0. Starting simulation...
warn: instruction 'fnstcw_Mw' unimplemented
warn: instruction 'fldcw_Mw' unimplemented
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/20.parser/ref/x86/linux/simple-atomic/stdout
--- a/tests/long/20.parser/ref/x86/linux/simple-atomic/stdout Tue Aug 26
02:37:26 2008 -0400
+++ b/tests/long/20.parser/ref/x86/linux/simple-atomic/stdout Wed Sep 03
00:52:54 2008 -0400
@@ -5,12 +5,12 @@
All Rights Reserved
-M5 compiled Jul 23 2008 16:08:41
-M5 started Wed Jul 23 16:09:17 2008
-M5 executing on blue
-M5 revision 5515:47bf96eec2c6221cf91de8a078897c1b5e46cfbf
-M5 commit date Wed Jul 23 15:35:08 2008 -0700
-command line: build/X86_SE/m5.fast -d
build/X86_SE/tests/fast/long/20.parser/x86/linux/simple-atomic tests/run.py
long/20.parser/x86/linux/simple-atomic
+M5 compiled Aug 31 2008 22:55:36
+M5 revision 5540:e8dde121a24fbf62092085d7d996cb8c965c3fe6
+M5 commit date Sun Aug 31 22:51:39 2008 -0400
+M5 started Aug 31 2008 22:56:02
+M5 executing on zizzer
+command line: build/X86_SE/m5.fast -d
build/X86_SE/tests/fast/long/20.parser/x86/linux/simple-atomic -re
--stdout-file stdout --stderr-file stderr tests/run.py
long/20.parser/x86/linux/simple-atomic
Global frequency set at 1000000000000 ticks per second
Reading the dictionary files:
*************************************************
@@ -71,4 +71,4 @@
about 2 million people attended
the five best costumes got prizes
No errors!
-Exiting @ tick 863377516000 because target called exit()
+Exiting @ tick 868687552500 because target called exit()
diff -r 6a27bc3fc267 -r bf358d99eff7
tests/long/60.bzip2/ref/x86/linux/simple-atomic/config.ini
--- a/tests/long/60.bzip2/ref/x86/linux/simple-atomic/config.ini Tue Aug
26 02:37:26 2008 -0400
+++ b/tests/long/60.bzip2/ref/x86/linux/simple-atomic/config.ini Wed Sep
03 00:52:54 2008 -0400
@@ -23,6 +23,7 @@
max_insts_any_thread=0
max_loads_all_threads=0
max_loads_any_thread=0
+numThreads=1
phase=0
progress_interval=0
simulate_data_stalls=false
@@ -77,7 +78,7 @@
[system.physmem]
type=PhysicalMemory
file=
-latency=1
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev