[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 15/18] target/s390x: Remove ILEN_AUTO
From: |
Richard Henderson |
Subject: |
[PATCH v4 15/18] target/s390x: Remove ILEN_AUTO |
Date: |
Fri, 27 Sep 2019 12:39:22 -0700 |
This setting is no longer used.
Reviewed-by: David Hildenbrand <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
target/s390x/cpu.h | 2 --
target/s390x/excp_helper.c | 3 ---
2 files changed, 5 deletions(-)
diff --git a/target/s390x/cpu.h b/target/s390x/cpu.h
index 67126acc99..686cbe41e0 100644
--- a/target/s390x/cpu.h
+++ b/target/s390x/cpu.h
@@ -805,8 +805,6 @@ void s390_io_interrupt(uint16_t subchannel_id, uint16_t
subchannel_nr,
uint32_t io_int_parm, uint32_t io_int_word);
/* instruction length set by unwind info */
#define ILEN_UNWIND 0
-/* automatically detect the instruction length */
-#define ILEN_AUTO 0xff
#define RA_IGNORED 0
void s390_program_interrupt(CPUS390XState *env, uint32_t code, uintptr_t ra);
/* service interrupts are floating therefore we must not pass an cpustate */
diff --git a/target/s390x/excp_helper.c b/target/s390x/excp_helper.c
index 8ce992e639..c252e9a7d8 100644
--- a/target/s390x/excp_helper.c
+++ b/target/s390x/excp_helper.c
@@ -196,9 +196,6 @@ static void do_program_interrupt(CPUS390XState *env)
LowCore *lowcore;
int ilen = env->int_pgm_ilen;
- if (ilen == ILEN_AUTO) {
- ilen = get_ilen(cpu_ldub_code(env, env->psw.addr));
- }
assert(ilen == 2 || ilen == 4 || ilen == 6);
switch (env->int_pgm_code) {
--
2.17.1
- [PATCH v4 10/18] target/s390x: Return exception from translate_pages, (continued)
- [PATCH v4 10/18] target/s390x: Return exception from translate_pages, Richard Henderson, 2019/09/27
- [PATCH v4 03/18] target/s390x: Remove ilen parameter from s390_program_interrupt, Richard Henderson, 2019/09/27
- [PATCH v4 08/18] target/s390x: Remove exc argument to mmu_translate_asce, Richard Henderson, 2019/09/27
- [PATCH v4 09/18] target/s390x: Return exception from mmu_translate, Richard Henderson, 2019/09/27
- [PATCH v4 16/18] target/s390x: Remove ilen argument from trigger_access_exception, Richard Henderson, 2019/09/27
- [PATCH v4 12/18] target/s390x: Simplify helper_lra, Richard Henderson, 2019/09/27
- [PATCH v4 14/18] target/s390x: Rely on unwinding in s390_cpu_virt_mem_rw, Richard Henderson, 2019/09/27
- [PATCH v4 11/18] target/s390x: Remove fail variable from s390_cpu_tlb_fill, Richard Henderson, 2019/09/27
- [PATCH v4 13/18] target/s390x: Rely on unwinding in s390_cpu_tlb_fill, Richard Henderson, 2019/09/27
- [PATCH v4 15/18] target/s390x: Remove ILEN_AUTO,
Richard Henderson <=
- [PATCH v4 18/18] target/s390x: Remove ILEN_UNWIND, Richard Henderson, 2019/09/27
- [PATCH v4 17/18] target/s390x: Remove ilen argument from trigger_pgm_exception, Richard Henderson, 2019/09/27