From b879f3084650410709051202e0e834b903b0858c Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Fri, 5 Apr 2013 14:10:28 -0400 Subject: tcg-s390: Fix merge error in tgen_brcond When the TCG condition codes were re-organized last year, we failed to update all of the "old-style" tests for unsigned. Signed-off-by: Richard Henderson --- tcg/s390/tcg-target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcg/s390/tcg-target.c') diff --git a/tcg/s390/tcg-target.c b/tcg/s390/tcg-target.c index 8e660b318d..7d6f777081 100644 --- a/tcg/s390/tcg-target.c +++ b/tcg/s390/tcg-target.c @@ -1231,7 +1231,7 @@ static void tgen_brcond(TCGContext *s, TCGType type, TCGCond c, int cc; if (facilities & FACILITY_GEN_INST_EXT) { - bool is_unsigned = (c > TCG_COND_GT); + bool is_unsigned = is_unsigned_cond(c); bool in_range; S390Opcode opc; -- cgit v1.2.3