search for: bitutils

Displaying 5 results from an estimated 5 matches for "bitutils".

Did you mean: binutils
2011 Jul 15
2
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
Hi, We have tried and generate assembly code for very simple test C code. But, binutils-2.5.2 (simplesim-3.0) cannot handle the produced assembly code with the following complaints. Could you advise which version of bitutils that we need to use for mips code with LLVM with Clang? Thanks, $ GCC addr01.s addr01.s: Assembler messages: addr01.s:1: Error: Unknown pseudo-op: `.section' addr01.s:2: Error: Unknown pseudo-op: `.previous' addr01.s:3: Error: Bad expression addr01.s:3: Warning: Missing string addr01.s:3...
2011 Jul 15
0
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
On Jul 15, 2011, at 10:13 AM, Gang-Ryung Uh wrote: > Hi, > > We have tried and generate assembly code for very simple test C code. But, binutils-2.5.2 (simplesim-3.0) cannot handle the produced assembly code with the following complaints. Could you advise which version of bitutils that we need to use for mips code with LLVM with Clang? Thanks, Something released in the last 10 years maybe? Just download something recent from gnu.org and you should be fine. -eric
2011 Jul 15
1
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
...at 10:13 AM, Gang-Ryung Uh wrote: > > > Hi, > > > > We have tried and generate assembly code for very simple test C code. > But, binutils-2.5.2 (simplesim-3.0) cannot handle the produced assembly code > with the following complaints. Could you advise which version of bitutils > that we need to use for mips code with LLVM with Clang? Thanks, > > Something released in the last 10 years maybe? Just download something > recent from gnu.org and you should be fine. > > -eric > > -- Gang-Ryung Uh, Associate Professor Department of Computer Science Co...
2011 Jul 11
0
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
It will produce little-endian code if you replace "mips" with "mipsel". 1. clang -ccc-host-triple mipsel-unknown-linux -ccc-clang-archs mipsel -O3 -S -emit-llvm foo.c -o foo.ll 2. llc -march=mipsel -mcpu=4ke foo.ll -o foo.s (the -march option is redundant) If you do not specify the target cpu with -mcpu, by default it will generate code for Mips1, which has not been tested as
2011 Jul 09
2
[LLVMdev] LLVM and little-endian 32-bit MIPS code generation
We are trying to use LLVM (Clang as the C frontend) to generate code for 32-bit MIPS (little-endian)l, which can run on simplescalar 3.0 sslittle-na-sstrix platform. Can you advise what would be the right way to use the LLVM compiler infrastructure? The following is the one I used, but it appears that it produce the code in big-endian (and I wonder whether the calling convention is right.) To