[cfe-dev] how to set clang to fastmath?

Chad Rosier mcrosier at codeaurora.org
Wed Aug 6 20:08:46 PDT 2014


> Hello,
>
> In order to compile a software (desmume-svn5045 [1]), I need to set clang
> to fastmath.
> It means that I need to change the floating point math mode I use in
> clang.
> If I do this, we told me that I should not encounter this [2] segmentation
> fault at runtime.
>
> Do you know what option I must give to clang to set it to fastmath please?
> (I don't find the option in the manual [3])

Perhaps, -ffast-math?

 Chad

>
> Thank you.
> Best regards.
>
> [1] http://desmume.org/
> [2] http://pastebin.com/S532SMUL
> [3] http://clang.llvm.org/docs/UsersManual.html
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation




More information about the cfe-dev mailing list