sparc64 flush pending conditional evaluations before exposing cpu state
commitb9369a384b10c934daab9de64fbff80b3659d837
authorIgor Kovalenko <igor.v.kovalenko@gmail.com>
Tue, 28 Jul 2009 21:32:23 +0000 (29 01:32 +0400)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 28 Aug 2009 02:23:36 +0000 (27 21:23 -0500)
treeb13c7f3c2e9efe87b18ce3bc8b288eccffcbd754
parent0ea2326a2c26f1b7b46c9225e33614daa314d6ca
sparc64 flush pending conditional evaluations before exposing cpu state

If translation block is interrupted by e.g. mmu exception
we need to compute conditional flags for inclusion into
saved cpu state. Otherwise after return from trap
conditional instructions would use stale psr/xcc data.

Signed-off-by: igor.v.kovalenko@gmail.com
--
Kind regards,
Igor V. Kovalenko
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
target-sparc/translate.c