Displaying 3 results from an estimated 3 matches for "dlinux_i386".
2011 Jun 14
4
[LLVMdev] code generation for ARM
Thanks for your reply.
I have a normal (../configure --enable-profiling --disable-optimized
--enable-assertions) llvm debug+profile+assert build.
I am generating llvm-bitcode using following commands.
llvm-gcc -DLINUX_i386 -DSPEC_CPU2000 -O3 -emit-llvm 186.crafty/src/valid.c
-c -o 186.crafty/src/valid.bc
---
llvm-link 186.crafty/src/*.bc -o 186.crafty/186.crafty.rel.bc
and finally:
llc -march=arm 186.crafty/186.crafty.rel.bc -o 186.crafty/186.crafty.m5arm.s
And there is not inline assembly in my C code.
Should I...
2011 Jun 14
0
[LLVMdev] code generation for ARM
Hello
> Command => llc -march=arm 186.crafty/186.crafty.rel.bc -o
> 186.crafty/186.crafty.m5arm.s
> Error => LLVM ERROR: Couldn't allocate output reg for constraint '{cx}'!
>
> Have anyone seen this before?
It seems you're feeding x86-specific LLVM IR to arm backend. Please
don't do that.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics
2011 Jun 14
3
[LLVMdev] code generation for ARM
Hello,
I am getting the following error while generating code for arm using llc for
one of the specint2000 benchmark. Though same works for x86 target.
Command => llc -march=arm 186.crafty/186.crafty.rel.bc -o
186.crafty/186.crafty.m5arm.s
Error => LLVM ERROR: Couldn't allocate output reg for constraint '{cx}'!
Have anyone seen this before? Is there a work around for this?