Displaying 6 results from an estimated 6 matches for "basicmath_small".
2012 Mar 06
2
[LLVMdev] Assembly Mips from bitecode llvm
For compile and link Basicmath files (using shell script):
llvm-gcc -emit-llvm basicmath_small.c -c -o basicmath_small.bc
llvm-gcc -emit-llvm cubic.c -c -o cubic.bc
llvm-gcc -emit-llvm isqrt.c -c -o isqrt.bc
llvm-gcc -emit-llvm rad2deg.c -c -o rad2deg.bc
llvm-link basicmath_small.bc cubic.bc isqrt.bc rad2deg.bc -o basicmath.bc
otms="disable-opt#adce#always-inline#argpromotion#block-pla...
2012 Mar 06
0
[LLVMdev] Assembly Mips from bitecode llvm
Ok. And what does llvm-gcc --version show?
---
With best regards,
Anton Korobeynikov
On Mar 6, 2012 5:22 PM, "Rafael Parizi" <parizi.computacao at gmail.com> wrote:
>
> For compile and link Basicmath files (using shell script):
>
> llvm-gcc -emit-llvm basicmath_small.c -c -o basicmath_small.bc
> llvm-gcc -emit-llvm cubic.c -c -o cubic.bc
> llvm-gcc -emit-llvm isqrt.c -c -o isqrt.bc
> llvm-gcc -emit-llvm rad2deg.c -c -o rad2deg.bc
> llvm-link basicmath_small.bc cubic.bc isqrt.bc rad2deg.bc -o basicmath.bc
>
> otms="disable-opt#adce#always-...
2014 May 27
2
[LLVMdev] Compiling MiBench to MIPS
...suite to the
MIPS target. However, when I call llc with the linked llvm bitcode, the
compilation gives an error apparently related to some unsupported feature.
The same error occurs when I select -march=arm, but it works for X86. In
details:
Commands I used to compile basicmath:
clang -static -O3 basicmath_small.c rad2deg.c cubic.c isqrt.c -c -emit-llvm
llvm-link basicmath_small.bc rad2deg.bc cubic.bc isqrt.bc -o basicmath.bc
llc basicmath.bc -march=mipsel -relocation-model=static -o basicmath
The error is:
llc: /home/ronaldo/llvm/include/llvm/Target/TargetLowering.h:302: virtual
const llvm::TargetRegist...
2012 Mar 06
0
[LLVMdev] Assembly Mips from bitecode llvm
Hello
> For this, for example, initially I compile the sources
How have you made this step?
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2012 Mar 06
2
[LLVMdev] Assembly Mips from bitecode llvm
Hi,
I'm trying to compile the benchmarks from Mibench suite with the
application of the all LLVM's tranformation passes.
Moreover, I'm trying to generate assembly code for Mips architecture for
extraction of energy and performance metrics.
For this, for example, initially I compile the sources and link them
generating a bitecode file. After, I apply each optimization using opt tool:
2012 Mar 06
2
[LLVMdev] Assembly Mips from bitecode llvm
...n show?
>
> ---
>
> With best regards,
> Anton Korobeynikov
> On Mar 6, 2012 5:22 PM, "Rafael Parizi" <parizi.computacao at gmail.com>
> wrote:
> >
> > For compile and link Basicmath files (using shell script):
> >
> > llvm-gcc -emit-llvm basicmath_small.c -c -o basicmath_small.bc
> > llvm-gcc -emit-llvm cubic.c -c -o cubic.bc
> > llvm-gcc -emit-llvm isqrt.c -c -o isqrt.bc
> > llvm-gcc -emit-llvm rad2deg.c -c -o rad2deg.bc
> > llvm-link basicmath_small.bc cubic.bc isqrt.bc rad2deg.bc -o
> basicmath.bc
> >
> >...