Searched hist:10057 (Results 1 - 1 of 1) sorted by relevance
/gem5/src/arch/x86/ | ||
H A D | utility.cc | diff 10057:09507a45c701 Sun Feb 02 10:37:00 EST 2014 Nikos Nikoleris <nikos.nikoleris@gmail.com> x86, kvm: Fix bug in the RFlags get and set functions The getRFlags and setRFlags utility functions were not updated correctly when condition registers were separated into their own register class. This lead to incorrect state transfer in calls from kvm into the simulator (e.g., m5 readfile ended up in an infinite loop) and when switching CPUs. This patch makes these utility functions use getCCReg and setCCReg instead of getIntReg and setIntReg which read and write the integer registers. Reviewed-by: Andreas Sandberg <andreas@sandberg.pp.se> |
Completed in 14 milliseconds