O3CPU: Add a hack to ensure that nextPC is set correctly after syscalls.
authorKevin Lim <ktlim@umich.edu>
Fri, 26 Sep 2008 14:44:06 +0000 (07:44 -0700)
committerKevin Lim <ktlim@umich.edu>
Fri, 26 Sep 2008 14:44:06 +0000 (07:44 -0700)
commit712a8ee70090abc8c8c0fdb4a907e3ec419ae56e
tree2dd75ac1af357c90dfbfa0aeefdf4196409cc7b8
parent70ec46de1736ef218ee0f554358c0558d56169ac
O3CPU: Add a hack to ensure that nextPC is set correctly after syscalls.
Just check CPU's nextPC before and after syscall and if it changes,
update this instruction's nextPC because the syscall must have changed
the nextPC.
src/cpu/o3/alpha/dyn_inst_impl.hh