]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a mixup. This never caused a problem because the fields happened
authorFlorian Krohm <florian@eich-krohm.de>
Fri, 7 Sep 2012 15:00:53 +0000 (15:00 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Fri, 7 Sep 2012 15:00:53 +0000 (15:00 +0000)
to have the same offset.

git-svn-id: svn://svn.valgrind.org/vex/trunk@2517

VEX/priv/host_s390_isel.c

index 1bfa7b5126326218b790def89c01af64ca85364e..6616aed27aadfcad5c1af3e4b4189dd48f69f262 100644 (file)
@@ -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;