This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/77453] No builtin version of cbrtf
- From: "matthieu.schaller at durham dot ac.uk" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 02 Sep 2016 13:52:52 +0000
- Subject: [Bug c/77453] No builtin version of cbrtf
- Auto-submitted: auto-generated
- References: <bug-77453-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77453
Matthieu Schaller <matthieu.schaller at durham dot ac.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|WONTFIX |FIXED
--- Comment #3 from Matthieu Schaller <matthieu.schaller at durham dot ac.uk> ---
(In reply to Richard Biener from comment #2)
> Adding an inline variant is unlikely a win. As noted by Joseph a "builtin"
> is not what you expect. No CPU I am aware of has a cbrt operation
> implemented in hardware.
Agreed that there are no chip-level instructions but surely an inlined set of
assembly instructions in the code will be faster than a function call to this
same set of assembly instructions within the libm, no?