Author: Richard Plangger <r...@pasra.at> Branch: vecopt-merge-opt Changeset: r78984:a82264bddcac Date: 2015-08-12 12:00 +0200 http://bitbucket.org/pypy/pypy/changeset/a82264bddcac/
Log: new branch to enhance some places of the optimization diff --git a/rpython/jit/metainterp/optimizeopt/schedule.py b/rpython/jit/metainterp/optimizeopt/schedule.py --- a/rpython/jit/metainterp/optimizeopt/schedule.py +++ b/rpython/jit/metainterp/optimizeopt/schedule.py @@ -655,10 +655,6 @@ def get_input_type_given(self, output_type, op): raise AssertionError("cannot infer input type from output type") - # OLD - def determine_output_type(self, op): - return None - GUARD_TF = PassThroughOp((PT_INT_GENERIC,)) INT_OP_TO_VOP = OpToVectorOp((PT_INT_GENERIC, PT_INT_GENERIC), INT_RES) FLOAT_OP_TO_VOP = OpToVectorOp((PT_FLOAT_GENERIC, PT_FLOAT_GENERIC), FLOAT_RES) @@ -666,7 +662,7 @@ LOAD_TRANS = LoadToVectorLoad() STORE_TRANS = StoreToVectorStore() -# note that the following definition is x86 arch specific +# note that the following definition is x86 arch specific (e.g. look at signext) ROP_ARG_RES_VECTOR = { rop.VEC_INT_ADD: INT_OP_TO_VOP, rop.VEC_INT_SUB: INT_OP_TO_VOP, @@ -755,7 +751,7 @@ renamer = scheduler.renamer if candidate.pack: for node in candidate.pack.operations: - self.unpack_from_vector(candidate.getoperation(), renamer) + #self.unpack_from_vector(candidate.getoperation(), renamer) scheduler.scheduled(node) #renamer.rename(node.getoperation()) self.as_vector_operation(scheduler, candidate.pack) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit