]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
s390x: fix code confusion
authorJulian Seward <jseward@acm.org>
Thu, 28 Apr 2011 18:38:42 +0000 (18:38 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 28 Apr 2011 18:38:42 +0000 (18:38 +0000)
Fix an enum-type mixup found by the IBM checker.
Fixes #271259.  (Florian Krohm, britzel@acm.org)

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

VEX/priv/host_s390_defs.c
VEX/priv/host_s390_defs.h
VEX/priv/host_s390_isel.c

index d8a634f3d173d98d41b210e9382f720f8c3a88e8..152c424226ded3e443190b296d81c084c793c96e 100644 (file)
@@ -4310,7 +4310,7 @@ s390_insn_bfp128_binop(UChar size, s390_bfp_binop_t tag, HReg dst_hi,
 
 
 s390_insn *
-s390_insn_bfp128_unop(UChar size, s390_bfp_binop_t tag, HReg dst_hi,
+s390_insn_bfp128_unop(UChar size, s390_bfp_unop_t tag, HReg dst_hi,
                       HReg dst_lo, HReg op_hi, HReg op_lo,
                       s390_round_t rounding_mode)
 {
index 0f3cc91e502878f3d0bedb99ff1d095f0b6c1ff4..2d8775dc95bf6d22ea9eb285b12c48fbaa946b38 100644 (file)
@@ -441,7 +441,7 @@ s390_insn *s390_insn_bfp_compare(UChar size, HReg dst, HReg op1, HReg op2);
 s390_insn *s390_insn_bfp128_binop(UChar size, s390_bfp_binop_t, HReg dst_hi,
                                   HReg dst_lo, HReg op2_hi, HReg op2_lo,
                                   s390_round_t);
-s390_insn *s390_insn_bfp128_unop(UChar size, s390_bfp_binop_t, HReg dst_hi,
+s390_insn *s390_insn_bfp128_unop(UChar size, s390_bfp_unop_t, HReg dst_hi,
                                  HReg dst_lo, HReg op_hi, HReg op_lo,
                                  s390_round_t);
 s390_insn *s390_insn_bfp128_compare(UChar size, HReg dst, HReg op1_hi,
index beb03b3c3a59b750f0383d31551d698e8aecef3f..1e4ecdc36f53458ba92983f1b811f9fadd488a02 100644 (file)
@@ -1474,7 +1474,7 @@ s390_isel_float128_expr_wrk(HReg *dst_hi, HReg *dst_lo, ISelEnv *env,
       /* --------- BINARY OP --------- */
    case Iex_Binop: {
       HReg op_hi, op_lo, f12, f13, f14, f15;
-      s390_bfp_binop_t bfpop;
+      s390_bfp_unop_t bfpop;
       s390_round_t rounding_mode;
 
       /* We use non-virtual registers as pairs (f13, f15) and (f12, f14)) */