- 10 Jul, 2015 1 commit
-
-
Kevin Modzelewski authored
Small fixes for the baseline JIT
-
- 09 Jul, 2015 6 commits
-
-
Kevin Modzelewski authored
Fix irgen bug for instancemethods
-
Kevin Modzelewski authored
We would try to statically-resolve their getattrs, but there's some special casing in the getattr logic for them. Which should be handled by moving the special-case to a proper tp_getattr, but for now just add the special-casing to "hasGenericGetattr" as well.
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Marius Wachtler authored
-
Kevin Modzelewski authored
Refactor offset macros to use the C++ built-in instead.
-
- 08 Jul, 2015 15 commits
-
-
Rudi Chen authored
-
Kevin Modzelewski authored
More small improvements
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
This probably doesn't matter that much since I don't think the function names get used during execution, but they get seen by tools/annotate.py
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
ie instead of generating the call to compare(AST_TYPE::Is), just directly do the pointer comparison in LLVM IR.
-
Kevin Modzelewski authored
For c extension classes that define it. This makes unicode-subscripting much faster.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
An assortment of misc small perf changes
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Put the common-case (where we don't do any work) in an inline-able function, and keep the slow stuff hidden.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
At this point, this is only used for some rarely-used targets like "disassemble this bitcode".
-
Kevin Modzelewski authored
Plus a benchmark of the getattr() function. I have some ideas on how to make this faster, but I don't think it's that important at the moment.
-
- 07 Jul, 2015 6 commits
-
-
Kevin Modzelewski authored
Be more consistent about "ip" while unwinding
-
Kevin Modzelewski authored
rewriter optimization; switch things away from compareInternal
-
Travis Hance authored
rewriter: use lea to allocate stack space
-
Kevin Modzelewski authored
compareInternal should probably just call PyObject_RichCompareBool eventually, but the switch also has the benefit of avoiding an extra boxing step.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Unicode-creation optimizations
-
- 06 Jul, 2015 12 commits
-
-
Kevin Modzelewski authored
I think the ip we receive is the return address to that stack frame (at least in the non-signal case). This makes things a bit weird since the "is this ip in this range" tests have a different half-openness than they normally do. At some point an "ip = ip - 1" snuck in, which I think was to address this issue, but I think it's better to not change the ip -- ie the resulting address is not independently useful (it's in the middle of an instruction); we could pass it around as "ip_minus_one", but instead just try converting the tests to be better.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Since we don't memset the unicode allocations any more, and we now use a precise gc handler, we have to be careful that unicode objects are valid enough whenever a collection could happen. The issue was that "unicode->str = gc_alloc(...)" could cause a collection, in which case the collector would go and see a bogus value in the ->str field. Now, do the str allocation first (since it is UNTRACKED) and then do the precise allocation second.
-
Kevin Modzelewski authored
-
Kevin Modzelewski authored
Inlining the allocation + object initialization saves a decent amount of overhead, since most of the properties will be fixed. For example, the size of the main allocation is fixed, so we can directly allocate it from the correct SmallArena bucket. We can also skip all the indirect function calls.
-
Kevin Modzelewski authored
add babel to our extra tests
-
Kevin Modzelewski authored
baseline jit: patch block transitions to a direct jump.
-
Kevin Modzelewski authored
Add a new JIT tier which is tightly coupled to the AST Interpreter
-
Marius Wachtler authored
-
Marius Wachtler authored
+ add small cleanup: add helper for mode calculation
-
Kevin Modzelewski authored
For issue #254, add lt, le, gt, ge to old-style class
-