Displaying 8 results from an estimated 8 matches for "49640f8a".
2010 Feb 17
0
[LLVMdev] Incorrect execution of global constructor with JIT on ARM
On 15 February 2010 14:49, Martins Mozeiko <49640f8a at gmail.com> wrote:
> #include <stdio.h>
> struct Global {
> typedef unsigned char ArrayType[4];
> ArrayType value;
> Global(const ArrayType& arg) {
> for (int i = 0; i < 4; i++) this->value[i] = arg[i];
> }
> };
> static const unsigned char arr...
2010 Feb 15
2
[LLVMdev] Incorrect execution of global constructor with JIT on ARM
Hello, llvm developers!
I am running LLVM with JIT on ARM. For simple programs it runs ok, but for lager code I have stumbled upon some issues.
See following C++ code to which I have reduced the problem:
#include <stdio.h>
struct Global {
typedef unsigned char ArrayType[4];
ArrayType value;
Global(const ArrayType& arg) {
for (int i = 0; i < 4; i++) this->value[i] =
2010 Feb 17
2
[LLVMdev] Incorrect codegen of getelementptr for ARM with JIT
...6 ; 0x10
0x40029080: bx lr
And at the end restore registers from the stack and return.
Can somebody confirm that this is a bug? Or am I missing something else here?
--
Martins Mozeiko
On Feb 17, 2010, at 12:23 , Renato Golin wrote:
> On 15 February 2010 14:49, Martins Mozeiko <49640f8a at gmail.com> wrote:
>> #include <stdio.h>
>> struct Global {
>> typedef unsigned char ArrayType[4];
>> ArrayType value;
>> Global(const ArrayType& arg) {
>> for (int i = 0; i < 4; i++) this->value[i] = arg[i];
>> }
>> };
>...
2010 Jan 18
1
[LLVMdev] JIT on ARM
Hi.
I am trying to run LLVM with JIT on ARM processor (Android phone).
Currently I have problems using external functions. Any call to external function crashes and gives me signal 11 (SIGSEGV) at some random address.
I'm trying to run following C code:
***
extern void add1(int* x);
int main()
{
int a = 10;
int b = 20;
add1(&b);
int c = a + b;
return c;
}
***
It gives
2009 Oct 14
0
[LLVMdev] Fwd: JIT on ARM
Hi.
Sorry for reposting my mail, but can somebody at lest give some
general ideas for what to look to solve my problem?
--
Martins Mozeiko
Begin forwarded message:
> From: Martins Mozeiko <49640f8a at gmail.com>
> Date: September 25, 2009 12:04:04 GMT+03:00
> To: llvmdev at cs.uiuc.edu
> Subject: JIT on ARM
>
> Hello.
>
> My goal is to use LLVM with JIT compiler for ARM on Android device.
>
> Currently I have successfully built and executed LLVM bitcode with
&g...
2009 Sep 25
6
[LLVMdev] JIT on ARM
Hello.
My goal is to use LLVM with JIT compiler for ARM on Android device.
Currently I have successfully built and executed LLVM bitcode with
interpreter on Android. Speed is not so great, that is why I want to
use JIT.
I tried building bitcode on windows with llvm-gcc that is provided on
llvm home page. Resulting bitcode runs great in interpreter, but it
doesn't use JIT. From what I
2010 Feb 19
0
[LLVMdev] Incorrect codegen of getelementptr for ARM with JIT
Thanks for confirming this.
Is there anybody with experience with ARM JIT codegen who can take a look into this?
Or can somebody direct where to look how JIT on ARM processes getelementptr instruction?
--
Martins Mozeiko
On Feb 17, 2010, at 19:14 , Renato Golin wrote:
>> Inline the init function: store 11 at the address of the "value" variable,
>> call printf with the
2010 Feb 23
2
[LLVMdev] Incorrect codegen of getelementptr for ARM with JIT
Hi.
Sorry for bringing this again.
I really need to find source of this bug. Can somebody give address/name of person who knows ARM implementation in LLVM in more details and to whom I could address my questions directly?
--
Martins Mozeiko
On Feb 19, 2010, at 19:43 , Martins Mozeiko wrote:
> Thanks for confirming this.
>
> Is there anybody with experience with ARM JIT codegen who