|
From: Sang K. C. <san...@gm...> - 2010-09-05 22:15:57
|
Hi, folks.
I think there is a small error when I compile the recent libvex (svn
r2029), due to the test_main.c 's undefined references. The error
message is as the following:
test_main.c:1735: error: ‘Iop_F64toI64’ undeclared (first use in this function)
...
test_main.c:1736: error: ‘Iop_I64toF64’ undeclared (first use in this function)
...
The below is a simple modification that I used to get around the problem.
Thank you,
- Sang Kil
--- test_main.c.orig 2010-09-05 17:58:01.000000000 -0400
+++ test_main.c 2010-09-05 17:57:42.000000000 -0400
@@ -1732,20 +1732,20 @@
/* Scalar floating point */
// case Iop_RoundF64:
- case Iop_F64toI64:
- case Iop_I64toF64:
+ case Iop_F64toI64S:
+ case Iop_I64StoF64:
/* First arg is I32 (rounding mode), second is F64 or I64
(data). */
return mkLazy2(mce, Ity_I64, vatom1, vatom2);
case Iop_PRemC3210F64: case Iop_PRem1C3210F64:
/* Takes two F64 args. */
- case Iop_F64toI32:
+ case Iop_F64toI32S:
case Iop_F64toF32:
/* First arg is I32 (rounding mode), second is F64 (data). */
return mkLazy2(mce, Ity_I32, vatom1, vatom2);
- case Iop_F64toI16:
+ case Iop_F64toI16S:
/* First arg is I32 (rounding mode), second is F64 (data). */
return mkLazy2(mce, Ity_I16, vatom1, vatom2);
@@ -1930,8 +1930,8 @@
case Iop_64UtoV128:
return assignNew(mce, Ity_V128, unop(op, vatom));
- case Iop_F32toF64:
- case Iop_I32toF64:
+ case Iop_F32toF64:
+ case Iop_I32StoF64:
case Iop_NegF64:
case Iop_SinF64:
case Iop_CosF64:
|