Re: [pypy-dev] LLVM next steps

2013-09-11 Thread Armin Rigo
Hi Eric, On Sun, Sep 8, 2013 at 7:00 PM, Eric van Riet Paap eric...@gmail.com wrote: What is the PyPy speed difference after using gcc versus llvm for the compilation of the PyPy-c backend? Currently, it seems that using the LLVM IR static translation backend of PyPy gives higher performance.

Re: [pypy-dev] LLVM next steps

2013-09-10 Thread David Edelsohn
On Sun, Sep 8, 2013 at 11:17 AM, Armin Rigo ar...@tunes.org wrote: Hi again, On Sun, Sep 8, 2013 at 9:42 AM, Armin Rigo ar...@tunes.org wrote: We've been suitably impressed by the results on the new llvm backend during the sprint (well, or suitably un-impressed by both gcc and clang's

Re: [pypy-dev] LLVM next steps

2013-09-09 Thread Maciej Fijalkowski
On Sun, Sep 8, 2013 at 5:42 PM, Armin Rigo ar...@tunes.org wrote: Hi Alex, On Sun, Sep 8, 2013 at 5:33 PM, Alex Gaynor alex.gay...@gmail.com wrote: LLVM also has a link time optimization, is it on by default in LLVM, or do we need to benchmark with it enabled explicitly? The point I made in

[pypy-dev] LLVM next steps

2013-09-08 Thread Armin Rigo
Hi Manuel, We've been suitably impressed by the results on the new llvm backend during the sprint (well, or suitably un-impressed by both gcc and clang's failure to reconstruct the SSA meaning of the C code). The current issue seems to be debugging. It would be nice if gdb presented at least

Re: [pypy-dev] LLVM next steps

2013-09-08 Thread Alex Gaynor
LLVM also has a link time optimization, is it on by default in LLVM, or do we need to benchmark with it enabled explicitly? Alex On Sun, Sep 8, 2013 at 8:17 AM, Armin Rigo ar...@tunes.org wrote: Hi again, On Sun, Sep 8, 2013 at 9:42 AM, Armin Rigo ar...@tunes.org wrote: We've been

Re: [pypy-dev] LLVM next steps

2013-09-08 Thread Armin Rigo
Hi Alex, On Sun, Sep 8, 2013 at 5:33 PM, Alex Gaynor alex.gay...@gmail.com wrote: LLVM also has a link time optimization, is it on by default in LLVM, or do we need to benchmark with it enabled explicitly? The point I made in my mail was that the llvm backend is written in a way that makes

Re: [pypy-dev] LLVM next steps

2013-09-08 Thread Eric van Riet Paap
Hi, I am missing some background information to follow what is being discussed here, so... What is the PyPy speed difference after using gcc versus llvm for the compilation of the PyPy-c backend? Would generating .ll instead of .c files really give any benefit? More interesting would still