Commits

Show all
Author Commit Message Labels Comments Date
Armin Rigo
Intermediate stage. Random progress, but I still need to write tests and implement code that notes where in the assembler the convert_to_imm(ConstPtr(..)) results get written to.
Branches
jit-constptr
Armin Rigo
Tweaks, documentation, and kill unused code.
Branches
jit-constptr
Armin Rigo
In-progress. Adds a hook in the GC, called before and after tracing of some kinds of objects (more precisely, the arrays with GcRefs in the varsized part, and which are not just GcArrays). Start using the hook from the JIT. See test_GcRefHandler. The goal is to correct the addresses of objects, or of individual fields inside these objects, that are hard-coded in assembler.
Branches
jit-constptr
Armin Rigo
A branch in which to support the x86 backend using directly ConstPtrs. Requires a bit of support from the GC to be able to fix the addresses written in the assembler when the objects move.
Branches
jit-constptr
Armin Rigo
Merge branch/ctypes-configure-cache-2. Remove the app-level usage of ctypes_configure, and replace it with precomputing and caching the dependency information. It should remove the need for a C compiler to exist at pypy-c run-time.
Armin Rigo
Following cfbolz's suggestion, disable pyc files handling altogether in pypy-c-sandbox translations.
Armin Rigo
In sandboxing mode, don't deliver .pyc files. The .py files only are enough, and the .pyc files were not considered anyway because the .py files had a mtime of 0. (Which caused troubles because of the bug fixed in r71869.)
Armin Rigo
Remove the special-casing of mtime=0, which was bogus anyway because the stream's position would not be advanced past the modification time stored in the .pyc.
Maciej Fijalkowski
Having fun with fancier progress bars. Comes from here: http://nadiana.com/animated-terminal-progress-bar-in-python I like it more than the previous one. Also make sure we don't output png to stdout
Maciej Fijalkowski
(fijal, arigo reviewing) Merge cleanup-warnings branch. This branch cleans up warnings that show up during translation. There are still gc-related warnings left.
Armin Rigo
Test and fix. On Mac OS/X, this triggers a use case where the C function ldexp() fails to set errno=ERANGE in case it overflows, but where we still really want the OverflowError from RPython.
Armin Rigo
Comment out the code that detects if we are on an old Mac. Such Macs are too old for building pypy-c's on anyway. Removes one of the only dependencies on the 'gestalt' module.
Armin Rigo
Capture and expose the RPython-level OSError exception. I cannot really be sure that it's complete, and it's all hard-to-test cases :-(
Armin Rigo
Bah. Fix an issue with runicode. It required a bit more hacking at the flow space.
Armin Rigo
Fix this. 'Darwin' is not even imported.
Armin Rigo
Can't do that. You are mutating the string passed as an argument! Revert this part of r71772. (Incidentally, r71784 is a pointless revert because non-JITted pypy-c's fail in the same way. My guess is that the cause was really r71772.)
Armin Rigo
'withshadowtracking' is incompatible with 'withinlineddict'. Remove it explicitly and fix the test. It would have been better if it complained -- now I'm unsure which of the two options was picked up in my pypy-c test builds...
Armin Rigo
Avoid one pass in compress_callshape() by computing the encoded "unsigned char" numbers directly.
Armin Rigo
Simplify a bit the encoding used for the location of asmgcroots: by separating the EBP+N and EBP-N cases we avoid the issue of encoding possibly-negative integers.
Maciej Fijalkowski
Revert 71737:71735. Apparently it broke some tests (test_sqlite in cpython as well as translate). I cannot explain why, so I revert it. To be investigated on a branch probably.
Maciej Fijalkowski
Sprinkle purefunction a bit all over the place. Use rgc.ll_shrink_array for slicing last item from the string
Benjamin Peterson
remove svn:executable property from files that don't have a shebang line
Bartosz Skowron
capitalize my name
Maciej Fijalkowski
Avoid string concatenation here. It's a bit of microoptimization, true, but also painless
Maciej Fijalkowski
A new interface, to avoid concatenation of strings in case we don't actually use timer.
Maciej Fijalkowski
Move freezing of CPU up the class hierarchy
Maciej Fijalkowski
Freeze the CPU.
Armin Rigo
Enable 'sharingdict' and 'inlineddict' by default in O2 builds. It gives an incredible memory usage benefit and in my timings has no noticeable performance impact (less than 1% on richards).
Bartosz Skowron
set executable bit
Bartosz Skowron
update shebang to independent version
  1. Prev
  2. Next