Re: GCC + libJIT instead of LLVM

2009-04-17 Thread Kirill Kononenko
Hello Everyone I wanted to let you know that if there is someone interested in working on the libJIT approach instead of using LLVM overkill under a Google Summer of Code code project and more general on this topic or as a diploma I am ready to mentor and help with this. Thanks, Kirill

Re: GCC + libJIT instead of LLVM

2009-04-06 Thread Gabriele SVELTO
Basile STARYNKEVITCH wrote: I believe that Kiril mentioned in a separate post the equation (mcs | csc | cscc) gcc libJIT == LLVM ? I tend to believe that Kiril dreams of building a CLI/.NET infrastructure and VM which uses all the powerful optimisations of GCC. For reference to Kiril:

Re: GCC + libJIT instead of LLVM

2009-04-06 Thread Mark Mitchell
David Edelsohn wrote: My explanations seem to have also failed to explain you. Unfortunately, one really needs have some back group with both Just-In-Time compilers,Virtual Machines, and Common Intermediate Language to understand this area. I understand that it is not your area of expertise,

Re: GCC + libJIT instead of LLVM

2009-04-05 Thread Kirill Kononenko
Hello After many considerations, I want to let everyone know about a release of my work done in a package: 0.1.2.5 + / 0.1.2 1/2 version release (code name: libJIT-ON-TESTOSTERONE) * main branch + libJIT-linear-scan-register-allocator * Add optimization levels for IA-32 from

Re: GCC + libJIT instead of LLVM

2009-04-05 Thread Kirill Kononenko
About the benchmarks you know what I mean I guess. That they don't prove anything, no matter how hard other people want to prove the inverse. Concrete figures will be in incoming research papers I am working right now. So just don't start right now with saying give us figures :-) Thanks, Kirill

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
Hello Everyone Do I understand it correctly that there are no useful thoughts or ideas with flamimg and flooding about LLVM? Thanks, Kirill 2009/4/1 Kirill Kononenko kirill.konone...@gmail.com: Please, let collect together all useful ideas and concrete thoughts? I am sure many people

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
Do I understand it correctly that there are no useful thoughts or ideas with-out- flaming and flooding about LLVM? Thanks, Kirill 2009/4/1 Kirill Kononenko kirill.konone...@gmail.com: Please, let collect together all useful ideas and concrete thoughts? I am sure many people already have

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Dave Korn
Kirill Kononenko wrote: Do I understand it correctly that there are no useful thoughts or ideas with-out- flaming and flooding about LLVM? I will admit that I don't have any ideas, but I thought there were a couple of positive suggestions in there. It's possible there's a bit of library

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
There have been mentioned a couple of ideas indeed. But I would not like to spend a lot of my precious time on telling my thoughts and suggestions, if the topic is already decided elsewhere. So I basically want asking question which exactly JITing support GCC needs, that I don't spend my time in

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Ian Lance Taylor
Kirill Kononenko kirill.konone...@gmail.com writes: There have been mentioned a couple of ideas indeed. But I would not like to spend a lot of my precious time on telling my thoughts and suggestions, if the topic is already decided elsewhere. So I basically want asking question which exactly

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
Hi Ian, Thank you a lot for your reply. There have been mentioned a couple of ideas indeed. But I would not like to spend a lot of my precious time on telling my thoughts and suggestions, if the topic is already decided elsewhere. So I basically want asking question which exactly JITing

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Diego Novillo
On Fri, Apr 3, 2009 at 10:54, Kirill Kononenko kirill.konone...@gmail.com wrote: What I want to identify is how both a VM engine(ILDJIT, .NET for example, Mono, Portable.NET), gcc and libJIT could be extended with minimal changes to both, for best user experience for example, is it speed

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Basile STARYNKEVITCH
Ian Lance Taylor wrote: Kirill Kononenko kirill.konone...@gmail.com writes: There have been mentioned a couple of ideas indeed. But I would not like to spend a lot of my precious time on telling my thoughts and suggestions, if the topic is already decided elsewhere. So I basically want

Re: GCC + libJIT instead of LLVM

2009-04-03 Thread Kirill Kononenko
I have been criticized for inserting a mail from a public mail list into this mail list. My position is that if a guy contradicts himself in two different public mail lists, it is a reason to point to this. Public mail list is a 'public' mail list. It is a source of reference, for books for

GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
Hello Dear GCC Developers, I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is integrated within gcc source tree. It seems to me that LLVM solves many goals that are already complete

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
And no this is not a 1st April joke :-) Thanks, Kirill 2009/4/1 Kirill Kononenko kirill.konone...@gmail.com: Hello Dear GCC Developers, I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Andrew Haley
Kirill Kononenko wrote: I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is integrated within gcc source tree. It seems to me that LLVM solves many goals that are already complete and

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
More useful in implementation of Just-In-Time compilation in Virtual Machine runtimes. For example, for Microsoft Common Intermediate Language (.NET). Thanks, Kirill 2009/4/1 Andrew Haley a...@redhat.com: Kirill Kononenko wrote: I would like to ask your opinion about possibility for

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Andrew Haley
2009/4/1 Andrew Haley a...@redhat.com: Kirill Kononenko wrote: I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is integrated within gcc source tree. It seems to me that LLVM solves

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
2009/4/1 Andrew Haley a...@redhat.com: Kirill Kononenko wrote: I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is integrated within gcc source tree. It seems to me that LLVM solves

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Andrew Haley
Kirill Kononenko wrote: 2009/4/1 Andrew Haley a...@redhat.com: Kirill Kononenko wrote: I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is integrated within gcc source tree. It seems

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Dave Korn
Kirill Kononenko wrote: 2009/4/1 Andrew Haley: Kirill Kononenko wrote: I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is integrated within gcc source tree. It seems to me that

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Andrew Haley
Basile STARYNKEVITCH wrote: The second issue (which perhaps Kirill did not thought of) would be to accelerate some internal optimisations of GCC by using JIT-code generation techniques within the compiler itself. There are several occasions within GCC where complex internal processing

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Basile STARYNKEVITCH
Kirill Kononenko wrote (citing me Basile) The second issue (which perhaps Kirill did not thought of) would be to accelerate some internal optimisations of GCC by using JIT-code generation techniques within the compiler itself. There are several occasions within GCC where complex internal

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
2009/4/1 Dave Korn dave.korn.cyg...@googlemail.com: Kirill Kononenko wrote: 2009/4/1 Andrew Haley: Kirill Kononenko wrote: I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
The second issue (which perhaps Kirill did not thought of) would be to accelerate some internal optimisations of GCC by using JIT-code generation techniques within the compiler itself. There are several occasions within GCC where complex internal processing happens, and one could imagine to

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
However, I see several interesting issues raised here: the first is to [re-]use GCC for just in time compilation, for instance to JIT-compile CLI or JVM bytecode into machine code, or even C or some specialized gimple-like representation into machine code, or CLISP into machine code, all

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Basile STARYNKEVITCH
Andrew Haley wrote: Useful for what? I think you have to tell us how this will improve the experience of gcc users . Kirill Kononenko wrote: More useful in implementation of Just-In-Time compilation in Virtual Machine runtimes. For example, for Microsoft Common Intermediate

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
2009/4/1 Andrew Haley a...@redhat.com: Kirill Kononenko wrote: 2009/4/1 Andrew Haley a...@redhat.com: Kirill Kononenko wrote: I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
2009/4/1 Basile STARYNKEVITCH bas...@starynkevitch.net: The second issue (which perhaps Kirill did not thought of) would be to accelerate some internal optimisations of GCC by using JIT-code generation techniques within the compiler itself. There are several occasions within GCC where

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Dave Korn
Kirill Kononenko wrote: LLVM is an overkill for JIT compilation. I think the tasks which LLVM solves are already solved within GCC transformations, or can be integrated very easily with libJIT. LibJIT is also much easier in usage, for ordinary developers. So what I see here, LLVM is rather a

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
2009/4/1 Dave Korn dave.korn.cyg...@googlemail.com: LLVM is an overkill for JIT compilation. I think the tasks which LLVM solves are already solved within GCC transformations, or can be integrated very easily with libJIT. LibJIT is also much easier in usage, for ordinary developers. So what I

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Andrew Haley
Dave Korn wrote: Kirill and Andrew wrote: April Fool's joke not your area of expertise Maybe it would be for the best if you two started over, before this turns sour. I'm out of here already! All I can say is that I hope my boss never finds out that virtual machines and JITs are not

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
Kirill and Andrew wrote: April Fool's joke not your area of expertise Maybe it would be for the best if you two started over, before this turns sour. I'm out of here already! All I can say is that I hope my boss never finds out that virtual machines and JITs are not my area of

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread David Edelsohn
On Wed, Apr 1, 2009 at 8:14 AM, Kirill Kononenko kirill.konone...@gmail.com wrote: My explanations seem to have also failed to explain you. Unfortunately, one really needs have some back group with both Just-In-Time compilers,Virtual Machines, and Common Intermediate Language to understand

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
My explanations seem to have also failed to explain you. Unfortunately, one really needs have some back group with both Just-In-Time compilers,Virtual Machines, and Common Intermediate Language to understand this area. I understand that it is not your area of expertise, so it is not an issue

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
My explanations seem to have also failed to explain you. Unfortunately, one really needs have some back group with both Just-In-Time compilers,Virtual Machines, and Common Intermediate Language to understand this area. I understand that it is not your area of expertise, so it is not an issue

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Chris Lattner
On Apr 1, 2009, at 5:09 AM, Dave Korn wrote: It seems to me that LLVM solves many goals that are already complete and solved in GCC. So I think libJIT potentially is more useful for GCC and software developers. but you don't say what libjit would be more useful than, or how this overlap

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
It seems to me that LLVM solves many goals that are already complete and solved in GCC. So I think libJIT potentially is more useful for GCC and software developers. but you don't say what libjit would be more useful than, or how this overlap between solved goals between gcc and llvm

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Manuel López-Ibáñez
2009/4/1 Kirill Kononenko kirill.konone...@gmail.com: This is what Chris Lattner wrote a couple of years ago. Now I see an exactly contradiction: Please, could you pinpoint side-by-side the two sentences that contradict each other and later give links to (or quote) the context? I am having

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Daniel Jacobowitz
On Wed, Apr 01, 2009 at 06:54:55PM +0200, Manuel López-Ibáñez wrote: 2009/4/1 Kirill Kononenko kirill.konone...@gmail.com: This is what Chris Lattner wrote a couple of years ago. Now I see an exactly contradiction: Please, could you pinpoint side-by-side the two sentences that

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Daniel Berlin
On Wed, Apr 1, 2009 at 5:33 AM, Kirill Kononenko kirill.konone...@gmail.com wrote: Hello Dear GCC Developers, I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example, the same way as libffi is integrated within

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
2009/4/1 Daniel Berlin dber...@dberlin.org: On Wed, Apr 1, 2009 at 5:33 AM, Kirill Kononenko kirill.konone...@gmail.com wrote: Hello Dear GCC Developers, I would like to ask your opinion about possibility for integration of the libJIT Just-In-Time compilation library and GCC. For example,

Re: GCC + libJIT instead of LLVM

2009-04-01 Thread Kirill Kononenko
Please, let collect together all useful ideas and concrete thoughts? I am sure many people already have thought about which JITing support GCC users need. I also do have my thoughts about this research topic but I would like also to have useful feedback from people who also understand this