You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These functions contain an extra layer of indirection as currently implemented; they call e.g. `_swift_stdlib_ceilf( )`, which turns around and either calls `ceilf( )` or contains a lowering of `ceilf( )` (arm64).
This extra overhead is especially significant for these functions in particular because they have single-instruction implementations for `Float` and `Double` on arm64 and x86. We're eating a function call where we should simply have a single instruction instead.
The text was updated successfully, but these errors were encountered:
Yes, definitely (especially for FMA, remainder is relatively rare and expensive no matter what). I think there's a bug for that kicking around somewhere, but if there isn't I'll take a look.
Additional Detail from JIRA
md5: 087779091399356b02a215851a43df40
Issue Description:
These functions contain an extra layer of indirection as currently implemented; they call e.g. `_swift_stdlib_ceilf( )`, which turns around and either calls `ceilf( )` or contains a lowering of `ceilf( )` (arm64).
This extra overhead is especially significant for these functions in particular because they have single-instruction implementations for `Float` and `Double` on arm64 and x86. We're eating a function call where we should simply have a single instruction instead.
The text was updated successfully, but these errors were encountered: