This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
builtin c99 functions
- From: NightStrike <nightstrike at gmail dot com>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Sun, 15 Feb 2015 17:31:06 -0500
- Subject: builtin c99 functions
- Authentication-results: sourceware.org; auth=none
There are many builtin versions of various c99 functions. I find it
difficult, however, to use them instead of the glibc equivalent, even
when calling __builtin_xx directly. Specifically in the case of
fminf, under what conditions will gcc give me nice one-line
branch-free assembly vs a call out to the library?