Displaying 20 results from an estimated 3000 matches similar to: "[LLVMdev] Error while compiling spec benchmark"
2005 Jun 02
0
[LLVMdev] Error while compiling spec benchmark
On Mon, 30 May 2005, Tanu Sharma wrote:
> I have been trying to compile the SPEC benchmark but have failed even
> after several attempts.The first error I get while trying to run is :
There are two ways to do this:
1. Use the llvm-test harness
2. Use the official spec harness with -Wl,-native-cbe or -Wl,-native flags
to llvm-gcc.
-Chris
>
2005 Jun 13
1
[LLVMdev] Compiling SPEC
Hello,
I have been trying to compile spec benchmark with llvm.I am trying the 2 methods suggested but have not succeeded yet .
1) Setting the flags -Wl,-native-cbe or -Wl,-native flags to llvm-gcc.
This results in successful compilation with llvm BUT it doesn't create .bc files (?)which I need for my experimentation.Any other significant modification/addition missing ??
2) Using llvm-test :
2005 Jun 02
4
[LLVMdev] Randomizing Functions & Global variables
I would try that ..Thanks
Another thing that I want to do is to randomize functions within a program (or file ), whatever is easier to do in llvm .Also please tell me how can I randomize global variables ?
Thanks
TS
Chris Lattner <sabre at nondot.org> wrote:
On Mon, 30 May 2005, Tanu Sharma wrote:
> I have been trying to compile the SPEC benchmark but have failed even
> after
2005 Jun 02
0
[LLVMdev] Randomizing Functions & Global variables
Can you explain a little bit more about what you mean by "randomize"
functions or global variables? What aspect of them do you want to
randomize? Their address? Their value? Something else?
Reid.
On Thu, 2005-06-02 at 13:53 -0700, Tanu Sharma wrote:
> I would try that ..Thanks
>
> Another thing that I want to do is to randomize functions within a
> program (or file ),
2005 Jun 02
0
[LLVMdev] Randomizing Functions & Global variables
Tanu,
You've seen ? :-
http://www.st.cs.uni-sb.de/~lindig/src/quest/
Don't know whether it is applicable to what you are trying to achieve but I thought I should point it out in case it is useful to you and you have not seen it.
Aaron
----- Original Message -----
From: Tanu Sharma
To: LLVM Developers Mailing List
Sent: Thursday, June 02, 2005 9:53 PM
Subject:
2005 Jun 02
4
[LLVMdev] Randomizing Functions & Global variables
By randomization of functions I mean the manner in whch they are called , so that has to do with address.I wish to randomize the order of calls made to functions when a program is run.
Reid Spencer <reid at x10sys.com> wrote:Can you explain a little bit more about what you mean by "randomize"
functions or global variables? What aspect of them do you want to
randomize? Their
2005 Feb 07
2
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
On Mon, 7 Feb 2005, Tanu Sharma wrote:
> I have been trying to randomize blocks in a program and modified
> "BasicBlockPlacement.cpp" for the purpose but getting segmentation
> fault.I am not able to determine the problem.Can anyone please decrypt
> these error messages or suggest what might be the possible cause of
> failure?
I'd be happy to fix this, but I need
2005 Sep 05
0
[LLVMdev] Doubt
On Sun, 4 Sep 2005, Tanu Sharma wrote:
>
> I have a doubt.
>
> This is an excerpt of the raw report I get after running Spec benchmarks
> through llvm-test.I am trying to calculate the program execution
> time.Does the output result in bold corresponds to "lli time" in
> Makefile.spec ? I am not interested in llc, jit or cbe.I simply need the
> normal
2005 Sep 04
2
[LLVMdev] Doubt
I have a doubt.
This is an excerpt of the raw report I get after running Spec benchmarks through llvm-test.I am trying to calculate the program execution time.Does the output result in bold corresponds to "lli time" in Makefile.spec ? I am not interested in llc, jit or cbe.I simply need the normal bytecode and native code execution times after running my pass over them.I have modified
2005 Feb 07
0
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
Thanks a lot for replying Chris,
I m trying to randomize the blocks in a program.I generate a random number( between the
current "InsertPos" and the last block), and then iterate through the list of basicblocks , picking up block with position equal to that of the random number and place it into the current InsertPos and increment InsertPos.
Running it like this:
2005 Mar 09
2
[LLVMdev] Question
This is exactly what i m trying :
opt -load /home/tsharma/ankur/llvm/Debug/lib/LLVMHello.so -hello <helloprog.bc> /dev/null
Tanu
Chris Lattner <sabre at nondot.org> wrote:
On Wed, 9 Mar 2005, Tanu Sharma wrote:
> I wrote a pass which randomizes basic blocks and insert new block.But
> when i run another pass over it which simply lists all basic blocks I
> don't get
2005 Feb 05
3
[LLVMdev] Improving Makefile.rules header install rules [PATCH]
>> Is attached patch acceptable?
>
> Looks great, applied, thanks!
> http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050131/023931.html
Thanks!
>> Also I have in Makefile.rules (but not include in patch) some
>> modification for simplify used common Makefile.rules in LLVM projects and
>> non-LLVM project (guarding some LLVM specific parts by ifdef
2005 Feb 07
0
[LLVMdev] Segmentation Fault(Modifying BasicBlockPlacement.cpp)
Hi,
I have been trying to randomize blocks in a program and modified "BasicBlockPlacement.cpp" for the purpose but getting segmentation fault.I am not able to determine the problem.Can anyone please decrypt these error messages or suggest what might be the possible cause of failure?
-----------------------------------------------------------------------------------------------------
2015 Jul 05
3
[PATCH speexdsp] Don't rely on HAVE_STDINT_H et al. being defined
From: Tanu Kaskinen <tanu.kaskinen at linux.intel.com>
Not everyone who includes speexdsp_config_types.h will have a test
which defines those, and if we've chosen to use the stdint types at
configure time then we know exactly which header(s) are available, so
just choose the best one then and generate the header to use it.
This patch, including the above text, is copied from a commit
2005 Jul 21
1
[LLVMdev] execution time of bytecode and native
Hello All,
Thanks for the reply.I can generate the reports by compiling Spec through llvm, but that couldn't resolve my problem.
I m trying to determine execution time for the bytecode and native files , which are obtained as a result of running my pass over the original bytecode .I am running these experiments on spec benchmark.
In SPEC we have command line tools such as runspec where
2004 Nov 30
4
[LLVMdev] Trouble using llvm tools
On Tue, 30 Nov 2004, Tanu Sharma wrote:
> I have trouble using the llvm tools.Some of the errors are :
>
> $ llvm-dis prog.bc
> $ llvm-dis: Invalid Top Level Block Length! Type:1, Size:456 (Vers=0, Pos=12)
Can you explain how you generated this bytecode file? It looks corrupted
or something. Also, can you send the actual bytecode file itself?
Thanks!
-Chris
>
2005 Apr 25
2
[LLVMdev] Compilation without optimization
Thanks for the reply.
I wish to compile without optimizations ( the option being turned off ) but still generate bytecode file.
Options -S , -c removes optimizations but I also need .bc file to experiment and use further.
How should I do it?
Thanks
-TS
Chris Lattner <sabre at nondot.org> wrote:
On Sat, 23 Apr 2005, Tanu Sharma wrote:
> I got very useful replies from dev list
2005 Feb 17
4
[LLVMdev] Branching to Entry block
On Thu, 17 Feb 2005, Tanu Sharma wrote:
> I created a new block and inserted it into the present basic block list
> , but I get this error:
>
> opt: BasicBlock.cpp:83: virtual llvm::BasicBlock::~BasicBlock(): Assertion `getParent() == 0 && "BasicBlock still linked into the program!"' failed.
>
> The program completes its task and i get this in the end. I am
2005 Feb 15
2
[LLVMdev] Entry block (Randomisation)
Tanu Sharma wrote:
> Hello,
>
> In an attempt to randomise the basic blocks in a function, is it
> possible that I can randomise the entry block as well? And maybe insert
> some instructions in the pass to call entry block while running the
> program ?
>
> Is it feasible?
>
> What does entry block consist of ?
The entry block, by definition, is the first basic
2005 Feb 27
2
[LLVMdev] Measuring performance overhead
On Sat, 2005-02-26 at 22:34 -0600, Chris Lattner wrote:
> On Sat, 26 Feb 2005, Tanu Sharma wrote:
>
> > Thanks for the reply :-)
> > I am actually looking for ways to determine "size" of code segment when the program is in native code.
> > Any suggestions to do that ?
>
> Compile it with llvm to a native .o or .exe file, then run 'size' on it?
>