-
Notifications
You must be signed in to change notification settings - Fork 609
SIMD static functions only on S4TF toolchain #404
Comments
Here's some context regarding
When All surprising behavior is due to ad-hoc differences between |
Could you point me to the code to do this?:
Would that just be a copy paste to add manually if I want to use those functions on the regular Xcode toolchain? |
Sure, here's the gyb'd code for
Yes, I believe so. This code probably won't work with S4TF toolchains though due to redefinition errors. |
Thanks Dan! |
Closing now, since the original question is really a feature request for
|
On the S4TF toolchain, I can use static transcendental functions on SIMD types like this:
let powSimd = SIMD2.pow(mySimd, 2)
On the normal Xcode toolchain, this is not available. A cursory exploration suggests that on the S4TF toolchain, SIMD types have been conformed to
ElementaryFunctions
, which is part of theNumerics
library (is that true?).Is there a way to get these functions on the normal Xcode toolchain? Are they on track to be mainlined? Are they only implemented on S4TF so far?
import Numerics
doesn't seem to give me those functions.The text was updated successfully, but these errors were encountered: