For compile and link Basicmath files (using shell script):<div><br><div>llvm-gcc -emit-llvm basicmath_small.c -c -o basicmath_small.bc</div><div>llvm-gcc -emit-llvm cubic.c -c -o cubic.bc</div><div>llvm-gcc -emit-llvm isqrt.c -c -o isqrt.bc</div>

<div>llvm-gcc -emit-llvm rad2deg.c -c -o rad2deg.bc</div><div>llvm-link basicmath_small.bc cubic.bc isqrt.bc rad2deg.bc -o basicmath.bc </div><div><br></div><div><div>otms="disable-opt#adce#always-inline#argpromotion#block-placement#....."</div>

<div>IFS=#</div><div>for i in $otms</div><div>do</div><div>  printf "\n$i ::::::: "</div><div>  opt -$i basicmath.bc -o basicmath.$i.bc</div><div>  llc -march=mipsel basicmath.$i.bc -o basicmath.$i.s</div><div>
done</div>
<div><br></div><div class="gmail_quote">On Tue, Mar 6, 2012 at 10:11 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info">anton@korobeynikov.info</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hello<br>
<div class="im"><br>
> For this, for example, initially I compile the sources<br>
</div>How have you made this step?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
With best regards, Anton Korobeynikov<br>
Faculty of Mathematics and Mechanics, Saint Petersburg State University<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><font><b><i>Rafael Parizi</i></b></font><br><br><br><br>
</div></div>