Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的编译器很响,我不知道如何在 armv8 中打开清零模式,谁能告诉我?我找到了一些这样的标志-fdenormal-fp-math=[values],但它不起作用。
-fdenormal-fp-math=[values]
这取决于 clang 版本,例如,我有 clang 3.8 并收到以下错误clang: error: unknown argument: '-fdenormal-fp-math=preserve-sign',但随后安装了 clang 5.0 并且它工作得很好。
clang: error: unknown argument: '-fdenormal-fp-math=preserve-sign'
clang++-5.0 hello.cpp -fdenormal-fp-math=preserve-sign
值为:
希望能帮助到你。