Commits

Show all
Author Commit Message Labels Comments Date
Maciej Fijalkowski
break test zjit. This gives traces roughly how I would like them.
Branches
sse-vectorization
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
Carl Friedrich Bolz
(arigo, cfbolz): add sanity checks to make sure that tagged pointers are enabled when erase_int is used.
Carl Friedrich Bolz
(arigo, cfbolz): use operationerrfmt in two places (just because)
Carl Friedrich Bolz
merge
Carl Friedrich Bolz
(arigo, cfbolz): also split up the nonfuncnodes according to where they are used. slightly obscure (just as the rest of the C backend)
Carl Friedrich Bolz
a test that rerased works after translation to C, which it didn't, so a fix too.
Armin Rigo
Add correct overflow checking for Boehm's malloc
Branches
inline-dict-ops
Armin Rigo
Move this hack away from lltype. This logic is needed to have lltype correctly detect accesses inside dead GcStruct.
Branches
inline-dict-ops
Armin Rigo
Small fixes in preparation for the merge.
Branches
inline-dict-ops
Armin Rigo
Sign in getinteriorfield_gc, test and fix (at least for llsupport).
Branches
inline-dict-ops
  1. Prev
  2. Next