diff options
Diffstat (limited to 'sys/libmath/gen1.py')
-rwxr-xr-x | sys/libmath/gen1.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/libmath/gen1.py b/sys/libmath/gen1.py index b0f9ecc..936bc50 100755 --- a/sys/libmath/gen1.py +++ b/sys/libmath/gen1.py @@ -1,3 +1,5 @@ +#!/bin/python + from C import * NUNROLL = 16 @@ -12,7 +14,8 @@ def typeify(string, kind): def fini(func, loop, strided, calls, ret=[]): func.execute(*calls[:2]) - func = Strided(func, loop, NUNROLL//2, strided, *ret) + func, scall = Strided(func, loop, NUNROLL//2, strided, *ret) + calls[2] = scall[0] func.execute(*calls[2:]) func.emit() |