----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://reviews.gem5.org/r/2158/ -----------------------------------------------------------
Review request for Default. Repository: gem5 Description ------- cpu: Enable fast-forwarding for MIPS InOrderCPU Adds takeOverFrom() and drainResume() functions to the InOrderCPU to enable it to take over from another CPU. A copyRegs() function is added to mips utilities so that --fast-forward can copy architectural state from the old CPU to the new CPU running MIPS. Diffs ----- src/arch/mips/utility.cc d222a22f78e9 src/cpu/inorder/InOrderCPU.py d222a22f78e9 src/cpu/inorder/cpu.hh d222a22f78e9 src/cpu/inorder/cpu.cc d222a22f78e9 src/cpu/inorder/first_stage.hh d222a22f78e9 src/cpu/inorder/first_stage.cc d222a22f78e9 Diff: http://reviews.gem5.org/r/2158/diff/ Testing ------- All quick and long regressions still pass for all ISAs. I used hello-world with the MIPS InOrderCPU and tested different --fast-forward instruction counts. I saw the host_seconds stat match intuition (decreasing with longer --fast-forward instruction count). Thanks, Christopher Torng _______________________________________________ gem5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/gem5-dev
