Author: Richard Plangger <planri...@gmail.com> Branch: s390x-backend Changeset: r81781:58d934d5d888 Date: 2016-01-15 09:30 +0100 http://bitbucket.org/pypy/pypy/changeset/58d934d5d888/
Log: removed a debug test case from yesterdays bughunt diff --git a/rpython/jit/backend/zarch/test/test_runner.py b/rpython/jit/backend/zarch/test/test_runner.py --- a/rpython/jit/backend/zarch/test/test_runner.py +++ b/rpython/jit/backend/zarch/test/test_runner.py @@ -28,36 +28,3 @@ # realloc frame takes the most space (from just after larl, to lay) bridge_loop_instructions = "larl; lg; cgfi; je; lghi; stg; " \ "lay; lgfi;( iihf;)? lgfi;( iihf;)? basr; lay; lg; br;$" - - def test_multiple_arguments(self): - from rpython.rtyper.annlowlevel import llhelper - from rpython.jit.metainterp.typesystem import deref - from rpython.rlib.jit_libffi import types - from rpython.jit.codewriter.effectinfo import EffectInfo - from rpython.rlib.rarithmetic import intmask - - def func_int(a, b, c, d, e, f): - sum = intmask(a) + intmask(b) + intmask(c) + intmask(d) + intmask(e) + intmask(f) - return sum - - functions = [ - (func_int, lltype.Signed, types.sint, 655360, 655360), - (func_int, lltype.Signed, types.sint, 655360, -293999429), - ] - - cpu = self.cpu - for func, TP, ffi_type, num, num1 in functions: - # - FPTR = self.Ptr(self.FuncType([TP] * 6, TP)) - func_ptr = llhelper(FPTR, func) - FUNC = deref(FPTR) - funcbox = self.get_funcbox(cpu, func_ptr) - # first, try it with the "normal" calldescr - calldescr = cpu.calldescrof(FUNC, FUNC.ARGS, FUNC.RESULT, - EffectInfo.MOST_GENERAL) - iargs = [0x7fffFFFFffffFFFF,1,0,0,0,0] - args = [InputArgInt(num) for num in iargs] - res = self.execute_operation(rop.CALL_I, - [funcbox] + args, - 'int', descr=calldescr) - assert res == sum(iargs) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit