search for: pyston

Displaying 20 results from an estimated 23 matches for "pyston".

2014 Jun 24
2
[LLVMdev] Any way get debug output of generated assembly from MCJIT without completely redoing CodeGen?
Yeah, that's probably how I'd do it. Might be useful if you guys want to contribute that as a command line option Kevin. -eric On Tue, Jun 24, 2014 at 3:03 PM, Kevin Modzelewski <kmod at dropbox.com> wrote: > We do this in Pyston using a JITEventListener that just disassembles the > output; it's "it works let's move on"-quality: > https://github.com/dropbox/pyston/blob/master/src/codegen/dis.cpp > > I'm not sure how efficient the disassembling is, but at least the process is > pretty sel...
2014 Sep 02
2
[LLVMdev] Python to VHDL using LLVM; was "Re: LLVMdev Digest, Vol 123, Issue 3"
The only VHDL to LLVM project that I know of is nvc. [0] I haven't tried it personally and from a cursory look through the source it seems like there is a LLVM backend and a "native" backend (not sure what that means). If you're really crazy you might want to see if you could massage GHDL [1] (VHDL GCC frontend) + DragonEgg [2] (LLVM backend for GCC) to get you LLVM IR. I'm
2014 Jun 24
4
[LLVMdev] Any way get debug output of generated assembly from MCJIT without completely redoing CodeGen?
Hello all, I'm trying to hack MCJIT::emitObject to optionally output the corresponding text assembly associated with the object code being emitted (if a debug flag is set in the app/dev environment which is hosting LLVM). I attempted to do this by adding another AsmPrinter pass to the PassManager, but this runs into all sorts of problems because there's only once MCContext and one
2014 May 01
4
[LLVMdev] Question about implementing exceptions, especially to the VMKit team
Hi all, I'm working on implementing exceptions in Pyston, and I was hoping to get some guidance from the list. I think I've learned enough about C++-style DWARF exceptions to convince myself I have a workable approach, but then I found this VMKit paper (2010) which says The exception manager: To manage exceptions, J3 reserves a > word for the pe...
2016 May 30
0
LLVM Weekly - #126, May 30th 2016
...be interested. Please send any tips or feedback to <asb at asbradbury.org>, or @llvmweekly or @asbradbury on Twitter. I've been moving house this weekend, so do accept my apologies if you find this issue to be a little less thorough than usual. ## News and articles from around the web Pyston, the LLVM-based Python compiler has [released version 0.5](https://blog.pyston.org/2016/05/25/pyston-0-5-released/). The main changes are a switch to reference counting and NumPy compatibility. I don't want to become "C++ weekly", but I think this audience appreciates a fun use of C+...
2014 Jun 20
2
[LLVMdev] Fwd: Stackmaps for ELF?
I don't believe the changes have made it in yet. In addition to the previous patch set, we've got an independent implementation we've been using for a while: https://github.com/AzulSystems/llvm-late-safepoint-placement We really should get one or the other merged in tree. Could you point me to the previous patch set so I can ping it and review? Philip -------- Original Message
2014 Oct 14
2
[LLVMdev] Thoughts on maintaining liveness information for stackmaps
...feasible registers like eflags and rip, and consumers would have to accept that there might be extra registers that are included unnecessarily (which can already happen). I created a hacky little patch that simply ignores bogus registers when doing the liveness calculation: https://github.com/kmod/pyston/blob/73a1a9897ec649f2249a69d523c820c0d4321786/llvm_patches/0009-Filter-out-extraneous-registers-from-live-outs-like-.patch Not sure if this is the kind of approach we would like to go with, but so far in my very limited testing it seems to be ok and at least things don't crash. What do you guy...
2009 Feb 02
2
public facts repository
...e controllers (requires tw_cli) harddisks - information (firmware, model, make) for non-3ware controllers. These 2 are especially nice for those people who might have seagate harddisks in their boxes... raid - more information than in: http://reductivelabs.com/trac/puppet/wiki/Recipes/RaidFact pystone - makes a simple pystone python benchmark and averages on it (gives you some hints about the processor speed) bogomips - yes, they are funny. macosx_productcode - Leopard,Tiger,Panther et al classes - in which classes is this host? graphics - nvidia,ati or false ( :( ) ssetype - sse or sse2 - th...
2014 Oct 13
4
[LLVMdev] whole program optimization examples?
With the patchpoint infrastructure, shouldn't it now be relatively straightforward to do an accurate-but-non-relocatable scan of the stack, by attaching all the GC roots as stackmap arguments to patchpoints? This is something we're currently working on for Pyston (ie we don't have it working yet), but I think we might get it "for free" once we finish the work on frame introspection. I'm not aware of any high-performance conservative GC implementations that are designed to be pluggable (if there are please let us know!) -- they typically s...
2015 Jul 04
2
[LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go
...lbacks), but you do have to provide those features or avoid parsing code that would need them. If you can get the job done by working in Python using the ast module, I would recommend that. On Sat, Jul 4, 2015 at 5:58 AM, David Jones <djones at xtreme-eda.com> wrote: > There is also the Pyston project from Dropbox. Presumably that includes a > Python parser. > > I'm not affiliated with the project. > > On Sat, Jul 4, 2015 at 2:35 AM, Alec Taylor <alec.taylor6 at gmail.com> > wrote: > >> Thanks, happy to of confirmed. >> >> With that in min...
2014 May 02
3
[LLVMdev] Question about implementing exceptions, especially to the VMKit team
Hi Kevin, To elaborate on Philip's point, depending on the state Pyston's runtime already is in, you may have the choice of using a hybrid of a "pending exception" word in your runtime thread structure, and an implicit alternate ("exceptional") return address for calls into functions that may throw. This lets you elide the check on the pending...
2014 Oct 14
2
[LLVMdev] Thoughts on maintaining liveness information for stackmaps
...s and rip, and consumers would have to > accept that there might be extra registers that are included unnecessarily > (which can already happen). > > I created a hacky little patch that simply ignores bogus registers when > doing the liveness calculation: > https://github.com/kmod/pyston/blob/73a1a9897ec649f2249a69d523c820c0d4321786/llvm_patches/0009-Filter-out-extraneous-registers-from-live-outs-like-.patch > Not sure if this is the kind of approach we would like to go with, but so > far in my very limited testing it seems to be ok and at least things don't > crash....
2015 Jul 04
4
[LLVMdev] LLVM parsers for popular languages? - Python, Rust, Go
Thanks, happy to of confirmed. With that in mind, will use the AST modules provided by the languages (with the exception of libclang for C++). Antoine: Am aware of Numba, nice job there BTW. So is there a [decoupled] LLVM parser which I can use to read Python files and analyse objects (including computing their attributes in OO and setattr scenarios)? On Wed, Jul 1, 2015 at 10:23 PM, Antoine
2014 Sep 10
3
[LLVMdev] Canonicalization of ptrtoint/inttoptr and getelementptr
On 09/08/2014 04:22 PM, Dan Gohman wrote: > An object can be allocated at virtual address 5 through extra-VM means > (eg. mmap), and then one can (creatively) interpret the return value > of @f as being associated with whatever %A was associated with *and* > 5. The return value of @g can only be associated with exactly the same > set that %A was associated with. Consequently,
2015 Jul 10
3
[LLVMdev] [RFC] New StackMap format proposal (StackMap v2)
Sounds good. I will add that to the StackMap documentation when I update it for v2. —Juergen > On Jul 10, 2015, at 9:40 AM, Hal Finkel <hfinkel at anl.gov> wrote: > > No, but I've noticed that it is true in practice, and so I think that we should say something about it one way or another. Especially since, in switching to a fixed-size record format, binary searching now
2014 Oct 14
2
[LLVMdev] whole program optimization examples?
...Kevin Modzelewski wrote: >> With the patchpoint infrastructure, shouldn't it now be relatively straightforward to do an accurate-but-non-relocatable scan of the stack, by attaching all the GC roots as stackmap arguments to patchpoints? This is something we're currently working on for Pyston (ie we don't have it working yet), but I think we might get it "for free" once we finish the work on frame introspection. > Take a look at the statepoint intrinsics up for review. These are essentially exactly that, with two extensions: > - A semantic distinction between gc roo...
2015 May 30
1
[LLVMdev] How patchpoint intrinsic actually patches?
Dear All I have some questions about how to use patchpoint intrinsic: 1- The function that is provided as argument to the intrinsic call, where does it belong? I'm making a pass to change a given IR file and add call to patchpoint. Where should I put this function? In the pass or in the same IR file or in another IR and include it or what? 2- When actually this code is patched into the
2016 Mar 01
5
EuroLLVM BoF session: Compilers in education
Hi all, I'm organizing a BoF session during the upcoming EuroLLVM developers meeting. As the subject of this message already shows, this session will be on compilers in education. I'm currently looking for both participants to the discussion and input for the actual program of the session. I've already got some ideas which I'll introduce below. At our university, we mostly
2005 Nov 03
0
[LLVMdev] PyPy 0.8 release announcement
...ranslated with the rest of PyPy. This makes using the translated pypy interactively much more pleasant, as compilation is considerably faster than in 0.7.0. - Some Speed enhancements. Translated PyPy is now about 10 times faster than 0.7 but still 10-20 times slower than CPython on pystones and other benchmarks. At the same time, language compliancy has been slightly increased compared to 0.7 which had already reached major CPython compliancy goals. - Some experimental features are now translateable. Since 0.6.0, PyPy shipped with an experimental Object Space (the part o...
2014 Oct 31
2
[LLVMdev] Stackmaps: caller-save-registers passed as deopt args
...ology -- the stackmaps documentation refers to the non-function-call arguments as "live values", but we were calling them "deopt values" in person, and I don't particularly like either term, since we also have "live outs" which deal with a separate problem, and for Pyston we pass some non-deopt-values in this section. It might be worth nailing down a term for this -- personally I call them "stackmap arguments" and the initial arguments "function arguments".] In the cases I'm running into, the value lives in both a register and on the stack,...