Compiler made register restrictions unnecessary

This commit is contained in:
Steven Robertson 2015-10-26 01:34:35 -07:00
parent 17b5a1a96f
commit 36e3b7aca9

View File

@ -86,7 +86,7 @@ def assemble_code(*libs):
map(go, libs) map(go, libs)
return ''.join(sum(zip(*out), ())) return ''.join(sum(zip(*out), ()))
DEFAULT_CMP_OPTIONS = ('-use_fast_math', '-maxrregcount', '42') DEFAULT_CMP_OPTIONS = ('-use_fast_math',)
DEFAULT_SAVE_KERNEL = True DEFAULT_SAVE_KERNEL = True
def compile(name, src, opts=DEFAULT_CMP_OPTIONS, save=DEFAULT_SAVE_KERNEL, def compile(name, src, opts=DEFAULT_CMP_OPTIONS, save=DEFAULT_SAVE_KERNEL,
arch=None): arch=None):