aboutsummaryrefslogtreecommitdiff
path: root/tcg
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-04-05 14:10:28 -0400
committerRichard Henderson <rth@twiddle.net>2013-04-05 13:35:42 -0500
commitb879f3084650410709051202e0e834b903b0858c (patch)
tree64ca67ab12c9c3c7b872c5fe5e0c369690c2385a /tcg
parent78c9f7c5b09408b4cac69a4fee97a118c8a89f6c (diff)
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 <rth@twiddle.net>
Diffstat (limited to 'tcg')
-rw-r--r--tcg/s390/tcg-target.c2
1 files changed, 1 insertions, 1 deletions
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;