From: Florian Krohm Date: Fri, 7 Sep 2012 15:00:53 +0000 (+0000) Subject: Fix a mixup. This never caused a problem because the fields happened X-Git-Tag: svn/VALGRIND_3_9_0^2~252 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efa48e6d9a2afee44491c8b0f9188e6f8f7cac92;p=thirdparty%2Fvalgrind.git Fix a mixup. This never caused a problem because the fields happened to have the same offset. git-svn-id: svn://svn.valgrind.org/vex/trunk@2517 --- diff --git a/VEX/priv/host_s390_isel.c b/VEX/priv/host_s390_isel.c index 1bfa7b5126..6616aed27a 100644 --- a/VEX/priv/host_s390_isel.c +++ b/VEX/priv/host_s390_isel.c @@ -1662,7 +1662,7 @@ s390_isel_float128_expr_wrk(HReg *dst_hi, HReg *dst_lo, ISelEnv *env, /* --------- UNARY OP --------- */ case Iex_Unop: { - IRExpr *left = expr->Iex.Binop.arg1; + IRExpr *left = expr->Iex.Unop.arg; s390_bfp_unop_t bfpop; s390_round_t rounding_mode; HReg op_hi, op_lo, op, f12, f13, f14, f15; @@ -1673,7 +1673,7 @@ s390_isel_float128_expr_wrk(HReg *dst_hi, HReg *dst_lo, ISelEnv *env, f14 = make_fpr(14); f15 = make_fpr(15); - switch (expr->Iex.Binop.op) { + switch (expr->Iex.Unop.op) { case Iop_NegF128: bfpop = S390_BFP_NEG; goto float128_opnd; case Iop_AbsF128: bfpop = S390_BFP_ABS; goto float128_opnd; case Iop_I32StoF128: bfpop = S390_BFP_I32_TO_F128; goto convert_int;