SH4: sleep instruction bug fix
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 15 Sep 2008 06:42:30 +0000 (06:42 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 15 Sep 2008 06:42:30 +0000 (06:42 +0000)
commitf5aab9e5f5ebb772f6bec76d71267987a45692d6
tree1c3bcbc8ddb98f506c76ab38c2bffac32f7e184f
parentdaf4390fb68edb969c913cc2589c59edb7cc724d
SH4: sleep instruction bug fix

fix a bug on 'sleep' instruction, which have caused halt of idle task.
As i386 'hlt' instruction does, it should save PC before sleep.

(Shin-ichiro KAWASAKI)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5220 c046a42c-6fe2-441c-8c8c-71466251a162
target-sh4/helper.h
target-sh4/op_helper.c
target-sh4/translate.c