[LLVMdev] FPU cannot be compatible with -soft-float code on mips by llc

刘亚龙 liuyalong.email at gmail.com
Thu Jul 24 18:32:27 PDT 2014


Hi all,
    -soft-float can not be rightly use by llc. All float function operation
will call soft float, but not hard.
    My mips device cannot support half float type, so I hack the llvm, and
add soft half float and add -soft-float option.
    I add the function define for __gnu_f2h_ieee() and __gnu_h2f_ieee (),
and it can call the soft half float.
    However, all the others function about float also call the soft float,
how I do make only __gnu_f2h_ieee() use soft float, other use hard float???

    Thank you all !!

Cheers,
    Robin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140724/d4a0a47b/attachment.html>


More information about the llvm-dev mailing list