This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/77453] No builtin version of cbrtf


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?

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]