[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[qemu-s390x] [PULL 17/46] s390x/tcg: use s390_program_interrupt() in per
From: |
Cornelia Huck |
Subject: |
[qemu-s390x] [PULL 17/46] s390x/tcg: use s390_program_interrupt() in per_check_exception() |
Date: |
Thu, 14 Dec 2017 18:09:35 +0100 |
From: David Hildenbrand <address@hidden>
We can now drop updating the cc.
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: David Hildenbrand <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
---
target/s390x/misc_helper.c | 2 +-
target/s390x/translate.c | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/target/s390x/misc_helper.c b/target/s390x/misc_helper.c
index ee6179ef89..a911bff706 100644
--- a/target/s390x/misc_helper.c
+++ b/target/s390x/misc_helper.c
@@ -412,7 +412,7 @@ void HELPER(per_check_exception)(CPUS390XState *env)
* of EXECUTE, while per_address contains the target of EXECUTE.
*/
ilen = get_ilen(cpu_ldub_code(env, env->per_address));
- program_interrupt(env, PGM_PER, ilen);
+ s390_program_interrupt(env, PGM_PER, ilen, GETPC());
}
}
diff --git a/target/s390x/translate.c b/target/s390x/translate.c
index cf8ffa217e..f26fa64a78 100644
--- a/target/s390x/translate.c
+++ b/target/s390x/translate.c
@@ -5837,9 +5837,6 @@ static ExitStatus translate_one(CPUS390XState *env,
DisasContext *s)
tcg_gen_movi_i64(psw_addr, s->next_pc);
}
- /* Save off cc. */
- update_cc_op(s);
-
/* Call the helper to check for a possible PER exception. */
gen_helper_per_check_exception(cpu_env);
}
--
2.13.6
- [qemu-s390x] [PULL 07/46] s390x/tcg: get rid of runtime_exception(), (continued)
- [qemu-s390x] [PULL 07/46] s390x/tcg: get rid of runtime_exception(), Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 08/46] s390x/tcg: rip out dead tpi code, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 10/46] s390x/pci: pass the retaddr to all PCI instructions, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 09/46] s390x/ioinst: pass the retaddr to all IO instructions, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 11/46] s390x/diag: pass the retaddr into handle_diag_308(), Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 12/46] s390x: handle exceptions during s390_cpu_virt_mem_rw() correctly (TCG), Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 13/46] s390x/tcg: don't exit the cpu loop in s390_cpu_virt_mem_rw(), Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 14/46] s390x/tcg: io instructions don't need potential_page_fault(), Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 15/46] s390x/tcg: use s390_program_interrupt() in SCLP Service Call, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 16/46] s390x/tcg: use s390_program_interrupt() in DIAG, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 17/46] s390x/tcg: use s390_program_interrupt() in per_check_exception(),
Cornelia Huck <=
- [qemu-s390x] [PULL 18/46] s390x/tcg: use s390_program_interrupt() in SACF, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 19/46] s390x/tcg: use s390_program_interrupt() in STSI, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 20/46] s390x/tcg: drop program_interrupt(), Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 21/46] s390x/tcg: drop potential_page_fault(), Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 22/46] s390x/pci: factor out endianess conversion, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 23/46] s390x/pci: rework PCI STORE, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 24/46] s390x/pci: rework PCI LOAD, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 25/46] s390x/pci: rework PCI STORE BLOCK, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 26/46] s390x/pci: move the memory region read from pcilg, Cornelia Huck, 2017/12/14
- [qemu-s390x] [PULL 27/46] s390x/pci: move the memory region write from pcistg, Cornelia Huck, 2017/12/14