Commits

Show all
Author Commit Message Labels Comments Date
Armin Rigo
Fix test.
Branches
jit-simplify-backendintf
Armin Rigo
Kill outdated test.
Branches
jit-simplify-backendintf
Armin Rigo
Fix test.
Branches
jit-simplify-backendintf
Armin Rigo
Fix some tests by using a slightly different logic in non-translated and in translated versions (horror!).
Branches
jit-simplify-backendintf
Armin Rigo
Fix the front-end. Some reduction in the total number of lines, but due to a change --- when tracing is done, we raise ContinueRunningNormally instead of building the arguments directly for the next iteration, including virtuals --- a number of tests fail now :-(
Branches
jit-simplify-backendintf
Armin Rigo
Change the interface and fix the llgraph backend.
Branches
jit-simplify-backendintf
Armin Rigo
A branch to simplify the backend interface, killing set_future_value_xx().
Branches
jit-simplify-backendintf
Alex Gaynor
fix
Alex Gaynor
merged default
Alex Gaynor
(alex, armin/carl for idea and discussion, fijal review) create instance_ptr_{eq,ne} resops, which are for comparins instances, as compared to ptr_eq which is for arbitrary gc pointers. this is needed so that the rewrite optimizer doesn't go around trying to get the rclass of an rstr (which doesn't have one)
Maciej Fijalkowski
merge heads
Maciej Fijalkowski
add some options
Armin Rigo
Support casts between floats and (u)longlongs written as a force_cast.
Armin Rigo
cast_uint_to_float and cast_float_to_uint are needed for micronumpy. Implement them (hopefully correctly now) as a residual call for now.
Armin Rigo
Fix the declaration of the lloperation 'cast_float_to_int' to no longer pretend it raises OverflowError, which is wrong. Fix the JIT by refusing to jtransform operationsl like 'cast_float_to_uint' and 'cast_uint_to_float' and their longlong and ulonglong equivalents. These would each require their own custom messy code in the backends. (If really needed, they are probably better written as '_ll_1_cast_x_to_y' support functions.)
Alex Gaynor
fix translation
Alex Gaynor
disable virtualization for arrays of structs, to be fixed by the virtual-dicts branch. in practice this wasn't very useful because it only worked on empty dicts.
Alex Gaynor
failing test in optimizebasic form, if this code is invalid then this test can be removed
Alex Gaynor
a failing JIT test. it seems to fail because we try to cast an rpy_str to rclass.OBJECT, perhaps this operation is not allowed, but then the underlying code shouldn't translate I think.
Alex Gaynor
optimize int_floordiv(0, i) to always return 0.
Alex Gaynor
mark a few functions in {str, unicode}.format as being unroll_safe. "{} {}".format(i, i) now generates very nice code
Alex Gaynor
fix test
Armin Rigo
merge heads
Armin Rigo
Test and trivial fix.
Alex Gaynor
(fijal, alex, armin): Merged inline-dict-ops, this teaches the JIT about {get,set}iteriorfield_gc, which is needed to inline various dict functions such as ll_get_value.
Alex Gaynor
closed branch for merge
Branches
inline-dict-ops
Alex Gaynor
merged in default
Branches
inline-dict-ops
Armin Rigo
Workaround: add 'arraydescr' and 'fielddescr' on the class too, like we do in other classes, for tests where the annotator doesn't see an actual instance.
Branches
inline-dict-ops
Armin Rigo
Revert d0bcf756f012, which breaks test_ztranslation. Will fix test_zrpy_gc in a way that is more consistent with the existing workarounds.
Branches
inline-dict-ops
Armin Rigo
Add missing setannotation(..).
Branches
inline-dict-ops
  1. Prev
  2. Next