Displaying 3 results from an estimated 3 matches for "m5arm".
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? I have tried
different register allocator using option "-regalloc=<>" to llc. It happens
with all the register allocators.
Tha...
2011 Jun 14
4
[LLVMdev] code generation for ARM
...ing 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 somehow specify arm related options to llvm while building llvm?
Thanks
Daya
On Tue, Jun 14, 2011 at 1:34 PM, Anton Korobeynikov <anton at korobeynikov.info
> wrote:
> Hello
>
> > Command => llc -march=arm 186.craft...
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 and Me...