![](/img/trans.png)
[英]Clang or GCC equivalent of _PGOPTI_Prof_Dump_All() from ICC
[英]What is GCC/Clang equivalent of -fp-model fast=1 in ICC
根據 GCC 的 set_fast_math_flags 函數, ffast-math
選項(至少在 GCC 5.2 中)等效於
(1) unsafe opts組:
-fno-trapping-math
-fassociative_math
-fno-signed-zeros
-freciprocal-math
(2) 其他人:
-ffinite-math-only
-fno-errno-math
-fno-signaling-nans
-fno-rounding-math
-fcx-limited-range
第一組縮寫為-funsafe_math_optimizations
。
您應該弄清楚 ICC 中的內容,並嘗試組合這些標志以產生所需的效果。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.