[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 011/147] target-s390: Tidy unconditional BRCL
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 011/147] target-s390: Tidy unconditional BRCL |
Date: |
Thu, 27 Sep 2012 15:39:52 -0700 |
Yes, we're about to rewrite all of this, but having this unconditional
jump recompute cc_op is a large source of "false diff errors" when
trying to examine before and after dumps.
Signed-off-by: Richard Henderson <address@hidden>
---
target-s390x/translate.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 3caf386..5a7612c 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -3706,6 +3706,11 @@ static void disas_c0(CPUS390XState *env, DisasContext
*s, int op, int r1, int i2
tcg_temp_free_i64(tmp);
break;
case 0x4: /* BRCL M1,I2 [RIL] */
+ if (r1 == 15) { /* m1 == r1 */
+ gen_goto_tb(s, 0, target);
+ s->is_jmp = DISAS_TB_JUMP;
+ break;
+ }
/* m1 & (1 << (3 - cc)) */
tmp32_1 = tcg_const_i32(3);
tmp32_2 = tcg_const_i32(1);
--
1.7.11.4
- [Qemu-devel] [PATCH v2 000/147] target-s390 reorg, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 001/147] s390x: fix -initrd in virtio machine, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 002/147] tcg: Add TCGV_IS_UNUSED_*, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 004/147] target-s390: Fix disassembly of cpsdr, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 003/147] target-s390: Disassemble more z10 and z196 opcodes, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 008/147] target-s390: Register helpers, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 005/147] target-s390: Fix gdbstub, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 009/147] target-s390: Fix SACF exit, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 006/147] target-s390: Add missing temp_free in gen_op_calc_cc, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 011/147] target-s390: Tidy unconditional BRCL,
Richard Henderson <=
- [Qemu-devel] [PATCH 010/147] target-s390: Fix BCR, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 007/147] target-s390: Use TCG registers for FPR, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 014/147] target-s390: Split o ut disas_jcc, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 017/147] target-s390: Implement SUBTRACT HALFWORD, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 016/147] target-s390: Convert ADD HALFWORD, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 012/147] target-s390: Fix PSW_MASK handling, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 013/147] target-s390: Add format based disassassmbly infrastructure, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 021/147] target-s390: Convert 64-bit MULTIPLY LOGICAL, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 020/147] target-s390: Convert 32-bit MULTIPLY, MULTIPLY LOGICAL, Richard Henderson, 2012/09/27
- [Qemu-devel] [PATCH 018/147] target-s390: Implement ADD LOGICAL WITH SIGNED IMMEDIATE, Richard Henderson, 2012/09/27