Displaying 5 results from an estimated 5 matches for "_dynamic_".
2006 Jul 14
4
[LLVMdev] LLVM bytecode simulator/emulator?
...stores, ...) in the dynamic execution.
If I was able to do that using LLVM, we would have characteristics on a
higher level of abstraction. The documentation on the BasicBlock pass
mentions not to keep state over different basic blocks, but I do want
that. Also, I need a way to iterate over the _dynamic_ instruction
stream. Is there a way to do that?
Example static vs dynamic:
static:
L: add x, y
sub y, z
jmpif z>100
mul x, z
dynamic:
add x, y
sub y, z
jmpif z>100
add x, y
sub y, z
jmpif z>100
...
jmpif z>100
mul x, z
If my problem still isn't clear, it's becau...
2006 Jul 13
0
[LLVMdev] LLVM bytecode simulator/emulator?
On Thu, 13 Jul 2006, Kenneth Hoste wrote:
> After browsing through the docs, at a first glance I think I should write a
> plugin for the 'analyze' tool. I think
> http://llvm.org/docs/WritingAnLLVMPass.html is where I should start from.
> The only problem I see now is that there doesn't seem to be a way to get
> information on a single instruction while being able to
2006 Jul 13
2
[LLVMdev] LLVM bytecode simulator/emulator?
Chris Lattner wrote:
> On Thu, 13 Jul 2006, Kenneth Hoste wrote:
>> Chris Lattner wrote:
>>> Hacking on the interpreter is easy, but has several drawbacks. In
>>> particular, the interpreter is very slow (even compared to other
>>> interpreters) and it is missing functionality: you cannot call
>>> arbitrary external functions, which causes many
2005 Oct 03
0
Re: [which kernel for AMD Sempron processor?
...be much better) -- are not always stable (at least with
>-O3). So even if you load an Athlon optimized kernel, GCC is
>typically using -O2. On kernel 2.4, you'll see maybe a 5-15%
>performance improvement.
>
>B. Linux Kernel 2.6 now adds [32-bit] Athlon optimizations
>as a _dynamic_, modular support in the _stock_ i686 kernel.
>There is little benefit to building a separate Athlon kernel,
>as I've tried, and seen _no_ noticable improvement.
>
>C. If you load a x86-64 kernel, most of those _are_ already
>optimized for Athlon architecture because they are th...
2006 Jul 14
0
[LLVMdev] LLVM bytecode simulator/emulator?
...instructions.
>
> If I was able to do that using LLVM, we would have characteristics on
> a higher level of abstraction. The documentation on the BasicBlock
> pass mentions not to keep state over different basic blocks, but I do
> want that. Also, I need a way to iterate over the _dynamic_
> instruction stream. Is there a way to do that?
I think you want to write a ModulePass instead of a BasicBlock pass.
A BasicBlockPass's runOnBasicBlock() method is called by the PassManager
for each basic block in the program. Therefore, a BasicBlockPass cannot
calculate some piece of...