arm, kvm: fix saving/restoring conditional flags in ARM KVM64
authorRahul Thakur <rjthakur@google.com>
Wed, 1 Mar 2017 18:15:57 +0000 (10:15 -0800)
committerRahul Thakur <rjthakur@google.com>
Fri, 3 Mar 2017 04:53:41 +0000 (04:53 +0000)
commit0fc9dcf46b98ee0e35e8ca428c1021dbbc4f67da
tree3f8d96a2db3f4ce32075dec86ceb7740db722c96
parentf3e0ac2b063e39924c1b31d3ec83a0bf0c43fdfd
arm, kvm: fix saving/restoring conditional flags in ARM KVM64

The gem5 stores flags separately from other fields CPSR, so we need to
split them out and recombine on trips to/from KVM.

Change-Id: I28ed00eb6f0e2a1436adfbc51b6ccf056958afeb
Reviewed-on: https://gem5-review.googlesource.com/2260
Reviewed-by: Rahul Thakur <rjthakur@google.com>
Maintainer: Rahul Thakur <rjthakur@google.com>
src/arch/arm/kvm/armv8_cpu.cc