diff options
author | Richard Henderson | 2017-05-19 20:20:48 +0200 |
---|---|---|
committer | Richard Henderson | 2017-06-06 23:34:31 +0200 |
commit | 9393c020bfd8581af8263c88d6e271950d52cb05 (patch) | |
tree | d13e938d1ea36fda5118580d3ed68903427efe15 /target/s390x/mem_helper.c | |
parent | target/s390x: Use unwind data for helper_mvst (diff) | |
download | qemu-9393c020bfd8581af8263c88d6e271950d52cb05.tar.gz qemu-9393c020bfd8581af8263c88d6e271950d52cb05.tar.xz qemu-9393c020bfd8581af8263c88d6e271950d52cb05.zip |
target/s390x: Use unwind data for helper_lam
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/s390x/mem_helper.c')
-rw-r--r-- | target/s390x/mem_helper.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/s390x/mem_helper.c b/target/s390x/mem_helper.c index e4bfc6e48a..88e817a432 100644 --- a/target/s390x/mem_helper.c +++ b/target/s390x/mem_helper.c @@ -469,10 +469,11 @@ static uint32_t helper_icm(CPUS390XState *env, uint32_t r1, uint64_t address, /* load access registers r1 to r3 from memory at a2 */ void HELPER(lam)(CPUS390XState *env, uint32_t r1, uint64_t a2, uint32_t r3) { + uintptr_t ra = GETPC(); int i; for (i = r1;; i = (i + 1) % 16) { - env->aregs[i] = cpu_ldl_data(env, a2); + env->aregs[i] = cpu_ldl_data_ra(env, a2, ra); a2 += 4; if (i == r3) { |