Author: Armin Rigo <ar...@tunes.org> Branch: Changeset: r79689:59f91f4b5f82 Date: 2015-09-18 17:14 +0200 http://bitbucket.org/pypy/pypy/changeset/59f91f4b5f82/
Log: 32-bit fix diff --git a/rpython/jit/backend/test/runner_test.py b/rpython/jit/backend/test/runner_test.py --- a/rpython/jit/backend/test/runner_test.py +++ b/rpython/jit/backend/test/runner_test.py @@ -2293,6 +2293,7 @@ func_ptr = llhelper(lltype.Ptr(FUNC), func_void) calldescr = self.cpu.calldescrof(FUNC, FUNC.ARGS, FUNC.RESULT, EffectInfo.MOST_GENERAL) + gfs = longlong.getfloatstorage for (operation, arg1, arg2_if_true, arg2_if_false) in [ ('int_lt', -5, 2, -5), @@ -2303,8 +2304,8 @@ ('int_xor', 7, 3, 7), # test without a comparison at all ('int_is_true', 4242, 1, 0), ('int_is_zero', 4242, 0, 1), - ('float_lt', -0.5, 0.2, -0.5), - ('float_eq', 1.1, 1.1, 1.2), + ('float_lt', gfs(-0.5), gfs(0.2), gfs(-0.5)), + ('float_eq', gfs(1.1), gfs(1.1), gfs(1.2)), ]: called = [] _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit