----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/1658/ -----------------------------------------------------------
Review request for Default. Description ------- Changeset 9478:c33e7b140a53 --------------------------- x86, cpu: corrects 9376, take over decoder when switching cpu The changes made by the changeset 9376 do not work well with switching of cpus. The problem is that decoder for the old thread context holds state that is not taken over by the new decoder. This patch adds a takeOverFrom() function to Decoder class in each ISA. Except for x86, functions in other ISAs are blank. For x86, the function copies state from the old decoder to the new decoder. Diffs ----- src/arch/alpha/decoder.hh 4a14ff47b8e3 src/arch/arm/decoder.hh 4a14ff47b8e3 src/arch/mips/decoder.hh 4a14ff47b8e3 src/arch/power/decoder.hh 4a14ff47b8e3 src/arch/sparc/decoder.hh 4a14ff47b8e3 src/arch/x86/decoder.hh 4a14ff47b8e3 src/cpu/o3/thread_context_impl.hh 4a14ff47b8e3 src/cpu/simple_thread.cc 4a14ff47b8e3 Diff: http://reviews.gem5.org/r/1658/diff/ Testing ------- Thanks, Nilay Vaish _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
