aarch64: fix armv8_set_core_reg when destination is cpsr
authorMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 16 Sep 2016 13:36:09 +0000 (15:36 +0200)
committerMatthias Welwarsky <matthias.welwarsky@sysgo.com>
Fri, 10 Feb 2017 13:01:39 +0000 (14:01 +0100)
commit56ab6ab1594e71b690ace9b813fb31b465693acb
treef70259e8d21119298dceca821f23eadcbed94cba
parent4afa32ece148268a07313843c3f0a860c27f3309
aarch64: fix armv8_set_core_reg when destination is cpsr

When armv8_set_core_reg is used to set the value of
the CPSR, also update the internal architecture state.

Change-Id: I5f6a2be6fde8d91ec3352d8ba23c4aa90eb02977
Signed-off-by: Matthias Welwarsky <matthias.welwarsky@sysgo.com>
src/target/armv8.c