Via a comment by @pinskia
So you can (in GCC/clang) prevent add/sub re-associations with built-ins in both. Sadly clang isn't consistently handling FMA prevention yet.
Via a comment by @pinskia
So you can (in GCC/clang) prevent add/sub re-associations with built-ins in both. Sadly clang isn't consistently handling FMA prevention yet.
Nice. the next GCC:
__builtin_assoc_barrier (a*b) + c
will prevent generating an FMA.
EDIT: This has been the case and it was just missing from the documentation.
@moonchild TBH: It's not clear to me. It may have but just not been documented?
@moonchild Well it appears it was just a documentation thing only!
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.