Author: Richard Plangger <[email protected]>
Branch: vecopt
Changeset: r78501:f845bf5b6e2f
Date: 2015-07-09 10:22 +0200
http://bitbucket.org/pypy/pypy/changeset/f845bf5b6e2f/
Log: reorder jit driver params
diff --git a/pypy/module/micronumpy/loop.py b/pypy/module/micronumpy/loop.py
--- a/pypy/module/micronumpy/loop.py
+++ b/pypy/module/micronumpy/loop.py
@@ -15,7 +15,7 @@
call2_driver = jit.JitDriver(
name='numpy_call2',
- greens=['shapelen', 'func', 'calc_dtype', 'res_dtype', 'left', 'right'],
+ greens=['shapelen', 'func', 'left', 'right', 'calc_dtype', 'res_dtype'],
reds='auto', vectorize=True)
def call2(space, shape, func, calc_dtype, w_lhs, w_rhs, out):
@@ -40,9 +40,9 @@
res_dtype = out.get_dtype()
while not out_iter.done(out_state):
call2_driver.jit_merge_point(shapelen=shapelen, func=func,
- calc_dtype=calc_dtype,
res_dtype=res_dtype,
left=left_iter is None,
- right=right_iter is None)
+ right=right_iter is None,
+ calc_dtype=calc_dtype,
res_dtype=res_dtype)
if left_iter:
w_left = left_iter.getitem(left_state).convert_to(space,
calc_dtype)
left_state = left_iter.next(left_state)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit