|
From: <sv...@va...> - 2012-09-07 15:01:08
|
florian 2012-09-07 16:00:53 +0100 (Fri, 07 Sep 2012)
New Revision: 2517
Log:
Fix a mixup. This never caused a problem because the fields happened
to have the same offset.
Modified files:
trunk/priv/host_s390_isel.c
Modified: trunk/priv/host_s390_isel.c (+2 -2)
===================================================================
--- trunk/priv/host_s390_isel.c 2012-09-06 04:13:22 +01:00 (rev 2516)
+++ trunk/priv/host_s390_isel.c 2012-09-07 16:00:53 +01:00 (rev 2517)
@@ -1662,7 +1662,7 @@
/* --------- 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 @@
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;
|