Displaying 13 results from an estimated 13 matches for "shasank".
2010 Feb 03
5
[LLVMdev] Using LLVM to generate x86 dynamically in memory
...f the pieces are there). Also, I briefly read up on lli. This looks like a separate process will have to be spawned to invoke the JIT to execute programs in LLVM bytecode. This will definitely incur an overhead penalty that we wouldn't want to pay. Thanks in advance for your response.
- Shasank
BTW - I was doing some google searching just now on the topic again, and i was surprised to see how fast google had already found the log of this previous conversation recorded at uiuc. ;).
> Subject: Re: [LLVMdev] Using LLVM to generate x86 dynamically in memory
> From: gros...
2010 Feb 03
0
[LLVMdev] Using LLVM to generate x86 dynamically in memory
...the Clang/LLVM libraries.
I cannot speak to your dll requirement, as the work was done for Linux. In addition I never measured the overhead in terms of a final
accumulated library size (size of all necessary libraries). No other measurements were taken either.
Garrison
On Feb 2, 2010, at 19:39, Shasank Chavan wrote:
> Hi Jim. Thanks for your speedy response. I'm not entirely sure if a JIT is what I'm looking for. I'm basically looking for a dll with an interface that takes a C program as input and compiles and optimizes it to native x86 instructions in an in-memory buffer. I d...
2010 Mar 07
4
[LLVMdev] llvm and flushing instruction cache
...find where in the source code this is happening. In particular I searched for clflush, invd, and wbinvd instructions, but couldn't find them. And if it's not necessary to do this, can you please explain why? (I'm assuming the target platform has a separate L1 i-cache). Thanks.
- Shasank
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermai...
2010 Feb 02
2
[LLVMdev] Using LLVM to generate x86 dynamically in memory
...ompiler called TinyCC that basically has a library (libtcc) that can be invoked at runtime to generate x86 instructions directly from a C program stored in memory. That's what I would like, but with the aggressive opts provided in the LLVM infrastructure. Thanks so much for your time...
- Shasank
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pi...
2010 Mar 07
0
[LLVMdev] llvm and flushing instruction cache
On Sat, Mar 6, 2010 at 10:34 PM, Shasank Chavan
<shanko_chavano at hotmail.com> wrote:
> Hi. I have a very quick question. Is the instruction cache flushed by the
> llvm jit before code in memory is written to or executed? I'm assuming so,
> but I can't find where in the source code this is happening. In particu...
2010 Feb 02
0
[LLVMdev] Using LLVM to generate x86 dynamically in memory
On Feb 2, 2010, at 3:05 PM, Shasank Chavan wrote:
> Hi. I'm very new to LLVM, and have read some of the documentation online. Before I invest too much time, however, in learning about LLVM, I'd like to know if it can be used for my purpose. We currently have a critical runtime component that evaluates expressions via i...
2010 Mar 26
3
[LLVMdev] Questions on llvm and jit
...I'm more familiar with ia64 than x86, and so it's a learning process for me to understand how easy it is to do this. First off, is there common code out there or in the dll that will allow me to walk through x86 instructions in search for a call?
Thanks again for your response.
- Shasank
> From: rnk at mit.edu
> Date: Fri, 26 Mar 2010 11:51:24 -0400
> Subject: Re: [LLVMdev] Questions on llvm and jit
> To: shanko_chavano at hotmail.com
> CC: llvmdev at cs.uiuc.edu
>
> On Tue, Mar 23, 2010 at 4:44 PM, Shasank Chavan
> <shanko_chavano at hotmail.com>...
2010 Mar 26
1
[LLVMdev] Questions on llvm and jit
...get you around all the optimization passes and the like but it’s
> still pretty fast and a lot easier than trying to patch a direct call in
> machine code.
>
>
>
> -n
>
>
>
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
> Behalf Of Shasank Chavan
> Sent: Friday, March 26, 2010 1:52 PM
> To: rnk at mit.edu
> Cc: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Questions on llvm and jit
>
>
>
> Hi Reid. Thanks for your response. We will be running this code in
> different processes across different nodes. B...
2010 Mar 26
0
[LLVMdev] Questions on llvm and jit
...itional IR optimizations enabled
This won't get you around all the optimization passes and the like but it's still pretty fast and a lot easier than trying to patch a direct call in machine code.
-n
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Shasank Chavan
Sent: Friday, March 26, 2010 1:52 PM
To: rnk at mit.edu
Cc: llvmdev at cs.uiuc.edu
Subject: Re: [LLVMdev] Questions on llvm and jit
Hi Reid. Thanks for your response. We will be running this code in different processes across different nodes. Basically we have thousands of "executor...
2010 Feb 03
0
[LLVMdev] Using LLVM to generate x86 dynamically in memory
On Tue, Feb 2, 2010 at 7:39 PM, Shasank Chavan
<shanko_chavano at hotmail.com> wrote:
> Hi Jim. Thanks for your speedy response. I'm not entirely sure if a JIT is
> what I'm looking for. I'm basically looking for a dll with an interface
> that takes a C program as input and compiles and optimizes it to nativ...
2010 Mar 23
2
[LLVMdev] Questions on llvm and jit
...or the first load, and then reused that temp in the secondary reference. I however would not be making such calls - I instead would probably generate the memory reference twice, and expect llvm to optimize this. Is my expectation correct?
Thanks in advance for answering these questions.
- Shasank
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID27925::T:WLMTAGL:ON:WL:en-US:WM_HMP:032010_3
-------------- next part --------------
An HT...
2010 Feb 03
1
[LLVMdev] Using LLVM to generate x86 dynamically in memory
Thanks Reid. What you wrote makes a lot of sense. The more I learn about the LLVM, the more I'll be able to determine how easy it would be to translate our IR into it. If it proves too difficult, I'll do what you suggested. Thanks again everyone for your responses...
- Shasank
> From: rnk at mit.edu
> Date: Tue, 2 Feb 2010 22:11:50 -0500
> Subject: Re: [LLVMdev] Using LLVM to generate x86 dynamically in memory
> To: shanko_chavano at hotmail.com
> CC: grosbach at apple.com; llvmdev at cs.uiuc.edu
>
> On Tue, Feb 2, 2010 at 7:39 PM, Shasank Chavan...
2010 Mar 26
0
[LLVMdev] Questions on llvm and jit
On Tue, Mar 23, 2010 at 4:44 PM, Shasank Chavan
<shanko_chavano at hotmail.com> wrote:
> Hi. I have more questions regarding llvm and using it as a jit for our
> purposes. Also, let me confess that I haven't actually used llvm yet (I'm
> still prototyping using gnu's libjit). Some of the issues that have come...