Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] Running cross compiled binaries for ARM on gem5"
2013 Mar 17
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
Thanks Renato and Giang.
I was able to run a simple HelloWorld program on gem5 (in SE mode) by using
-target -arm-none-linux-gnueabi as the option during cross compilation.
I am trying to cross compile some Computer Vision algorithms, which use
OpenCV libraries, and I tried using the same command line options -
clang++ *-emit-llvm -static -c -Wall -g -O0 -mfpu=vfp -mfloat-abi=soft
2013 Mar 11
0
[LLVMdev] Running cross compiled binaries for ARM on gem5
Hi Silky,
If I got correctly, you seem to be trying to run a bare-metal image on your
model, but you compile with linux-gnueabi GCC. I don't know if that will
make a difference, but I'd try to use none-eabi GCC toolchain and set the
-target armv7a-none-eabi just in case.
On 10 March 2013 00:26, Silky Arora <silkyar at umich.edu> wrote:
> Most of the search results talk about
2013 Mar 18
0
[LLVMdev] Running cross compiled binaries for ARM on gem5
On 17 March 2013 22:40, SArora <silkyar at umich.edu> wrote:
> However, this errors out saying
>
>
> /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/mat.hpp:117:9:
> error: cannot compile this atomic library call yet
> CV_XADD(refcount, 1);
> ^~~~~~~~~~~~~~~~~~~~
>
>
2013 Mar 18
2
[LLVMdev] Running cross compiled binaries for ARM on gem5
On 03/18/2013 10:28 AM, Renato Golin wrote:
> On 17 March 2013 22:40, SArora <silkyar at umich.edu
> <mailto:silkyar at umich.edu>> wrote:
>
> However, this errors out saying
>
> /home/silky/VecProject/opencv/OpenCVInstall/arm/include/opencv2/core/mat.hpp:117:9:
> error: cannot compile this atomic library call yet
> CV_XADD(refcount, 1);
2013 Mar 18
0
[LLVMdev] Running cross compiled binaries for ARM on gem5
On 18 March 2013 09:43, Abdoulaye Walsimou Gaye <awg at embtoolkit.org> wrote:
> **
> This is the same issue reported here
> http://llvm.org/bugs/show_bug.cgi?id=15429
>
Yes, it does look like the same problem, thanks!
Silky, feel free to add your error messages to that bug to make sure it's
taken into account when fixed.
cheers,
--renato
-------------- next part
2012 Jul 23
0
[LLVMdev] Setting up a cross-compiler for cortex-m3
On Sun, Jul 22, 2012 at 11:12 PM, Renato Golin <rengolin at systemcall.org> wrote:
> On 22 July 2012 22:03, salvatore benedetto
> <salvatore.benedetto at gmail.com> wrote:
>> While we are at it, if a new comer would like to understand where everything
>> takes place, where should he look?
>>
>> I did a grep in the source and eventually ended up in
2013 Jan 22
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Oh, OK. I didn't check the code. I think it only contains your flow tracking analysis code, isn't it.
Our 'Giri' project was completely separate from it. Should we merge it with this or keep it as a separate project?
-Swarup.
________________________________________
From: John Criswell [criswell at illinois.edu]
Sent: Tuesday, January 22, 2013 12:12 PM
To: Sahoo, Swarup Kumar
Cc:
2013 Jan 22
2
[LLVMdev] Dynamic Profiling - Instrumentation basic query
On 1/22/13 12:07 PM, Sahoo, Swarup Kumar wrote:
> Hi John and Silky,
>
> I can see a copy of 'giri' slicing project branch here http://llvm.org/viewvc/llvm-project/giri/. Though it may be little older, it will work I think. You can look at the code to see how we do the instrumentation.
The giri project is supposed to contain both the static slicing code and
the dynamic
2013 Jan 22
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi John and Silky,
I can see a copy of 'giri' slicing project branch here http://llvm.org/viewvc/llvm-project/giri/. Though it may be little older, it will work I think. You can look at the code to see how we do the instrumentation.
Thanks,
Swarup.
________________________________________
From: John Criswell [criswell at illinois.edu]
Sent: Tuesday, January 22, 2013 10:29 AM
To:
2013 Jan 14
2
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi,
@Alastair: Thanks a bunch for explaining this so well. I was able to write
a simple profiler, and run it.
I need to profile the code for branches (branch mis predicts simulation),
load/store instructions (for cache hits/miss rate), and a couple of other
things and therefore, would need to instrument the code.
However, I would like to know if writing the output to a file would
increase the
2013 Jan 22
3
[LLVMdev] Dynamic Profiling - Instrumentation basic query
On 1/13/13 11:06 PM, Criswell, John T wrote:
> There is code that does this for older versions of LLVM. I believe it is in the giri project in the LLVM SVN repository. I can look into more details when I get back from vacation. Swarup may also be able to provide information on the giri code.
I took a quick look, and the dynamic slicing code doesn't appear to be
checked into the giri
2013 Jan 16
2
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi Alastair,
Thank you so much for the information on the tools. Actually, I need to
analyze which sections of code are prone to misses and mis predicts, and
would have to eventually instrument the code.
I was able to instrument and call an external function, but faced an issue
while passing an argument to the function. I am following EdgeProfiling.cpp
but couldn't figure out the problem.
2013 Jan 20
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi Silky,
Sorry for the slow reply. You probably already fixed this, but just in
case I'll reply anyway.
Comments inline below
On 15/01/13 19:38, SArora wrote:
> Hi Alastair,
> Thank you so much for the information on the tools. Actually, I need to
> analyze which sections of code are prone to misses and mis predicts, and
> would have to eventually instrument the code.
>
2013 Jan 14
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
There is code that does this for older versions of LLVM. I believe it is in the giri project in the LLVM SVN repository. I can look into more details when I get back from vacation. Swarup may also be able to provide information on the giri code.
-- John T.
________________________________________
From: llvmdev-bounces at cs.uiuc.edu [llvmdev-bounces at cs.uiuc.edu] on behalf of Silky Arora
2012 Jul 22
3
[LLVMdev] Setting up a cross-compiler for cortex-m3
On 22 July 2012 22:03, salvatore benedetto
<salvatore.benedetto at gmail.com> wrote:
> While we are at it, if a new comer would like to understand where everything
> takes place, where should he look?
>
> I did a grep in the source and eventually ended up in clang/something/driver.
That's pretty much it: clang/lib/Driver
2013 Jan 15
0
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi Silky,
On 14/01/13 01:47, Silky Arora wrote:
> I need to profile the code for branches (branch mis predicts
> simulation), load/store instructions (for cache hits/miss rate), and a
> couple of other things and therefore, would need to instrument the code.
> However, I would like to know if writing the output to a file would
> increase the execution time, or is it the profiling
2001 Mar 09
1
win95 machine unable to show linux machine in network neighborhood
dear Sir,
i am running red hat 6.2 on one machine and windows
95 on another but i am unable to see the linux machine
in my windows pcs network neighborhood.to check my
samba server i tried the tests given in
DIAGNOSIS.txt.I am able to run tests 1 to 4 without
error but in test 5 which says :::
"test 5 :
run the command "nmblookup -B ACLIENT '*'"
You Should Get The
2012 Nov 21
0
[LLVMdev] Question about compiling LLVM through cross-compiler for ARM
> It is done. Then, I should copy this version on my image and then boot the image with gem5. The
> problem is when I try to run llvm-commands in gem5, they don't work and said : "cannot execute binary file".
What does "file" says on the binary?
> This means that I couldn't cross-compile the llvm for ARM to work on ARM!
Something is broken on your side. I can
2013 Jan 13
4
[LLVMdev] Dynamic Profiling - Instrumentation basic query
Hi,
I am new to LLVM, and would like to write a dynamic profiler, say which prints out the load address of all the load instructions encountered in a program.
>From what I could pick up, edge-profiler.cpp increments a counter dynamically which is somehow dumped onto llvmprof.out by profile.pl
Could anyone explain me how this works? Can I instrument the code to dump out the load addresses or
2018 Mar 20
2
Encoding an X86 format with long operands
Hi all.
tl;dr: I would like to add a long x86 instruction which doesn't conform to
any existing format that I know; I'm not sure where to start.
I am attempting to add an instruction into X86, to be simulated in gem5.
I've already added a simple, opcode-only instruction which I can
successfully decode and run in gem5, so I am roughly familiar with .td
files and how backends are built