search for: rad2deg

Displaying 9 results from an estimated 9 matches for "rad2deg".

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-placement#....." IFS=# for i in $otms do printf "\n$i ::::::: " opt -$i basicmath.bc -o basicmath.$i.bc llc -march=mipsel b...
2012 Mar 06
0
[LLVMdev] Assembly Mips from bitecode llvm
...i.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-inline#argpromotion#block-placement#....." > IFS=# > for i in $otms > do > printf "\n$i ::::::: " > opt -$i basicmath.bc -...
2014 May 27
2
[LLVMdev] Compiling MiBench to 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::TargetRegisterClass* l...
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:
2013 Mar 05
2
Function completely locks up my computer if the input is too big
...do this function piece-wise for larger data and see if that helps. Script is attached and appended below. Thanks Ben Caldwell #compass to polar coordinates compass2polar <- function(x) {-x+90} #degrees (polar) to radians Deg2Rad <- function(x) {(x*pi)/180} # radians to degrees Rad2Deg <- function (rad) (rad/pi)*180 # polar to cartesian coordinates - assumes degrees those from a compass. output is a list, x & y of equal length Pol2Car <- function(distance,deg) { rad <- Deg2Rad(compass2polar(deg)) rad <- rep(rad, length(distance)) x <- ifelse(is.na(dist...
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-placement#....." > > IFS=# > > for i in $otms > > do > > printf "\n$i ::::...
2014 Jan 28
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
Hi Stepan, Sorry for the delay. It's great that you are working on MergeFunctions as well and I agree, we should definitely try to combine our efforts to improve MergeFunctions. Just to give you some context, the pass (with the similar function merging patch) is already being used in a production setting. From my point of view, it would be better if we focus on improving its capability
2014 Jan 30
3
[LLVMdev] MergeFunctions: reduce complexity to O(log(N))
...0.02 149368 0 0.02 149368 QuantumDecoder.ll 29 168313 0 0.02 168279 0 0.02 165422 queens.ll 4 24087 0 0.01 24070 0 0.01 24070 Queens.ll 6 16571 0 0.01 16552 0 0.01 16552 query.ll 1 16747 0 0.01 16722 0 0.01 16722 queue.ll 4 8925 0 0.01 8909 0 0.01 8909 Quicksort.ll 6 14846 0 0.01 14827 0 0.01 14827 rad2deg.ll 2 2052 0 0.01 2014 0 0.01 2014 Ralignmm.ll 8 207016 0 0.03 207001 0 0.03 207001 RandGen.ll 4 16724 0 0.01 16692 0 0.01 16692 random.ll 3 4973 0 0.01 4954 0 0.01 4954 Random.ll 7 22081 0 0.01 22061 0 0.01 22061 ratectl.ll 9 51434 0 0.01 51413 0 0.02 51413 rawcaudio.ll 1 5109 0 0.01 5073 0 0.01 50...