-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion from arch types #296
Comments
at least for x86 there exists |
Yes, this direction already exists, it is the reverse direction that does not exist yet. |
Pretty sure this existed in the past and got lost at some point. Vaguely related to #187. |
Sorry, I meant |
Ah, yes, you're right, sorry, I wonder how I managed to miss them. |
Looking further, I see how. The From impl appears on the doc page of the arch types, but not on that of the Simd type. What is strange is that you see both From impls on the doc page of the arch type. I wonder if rustdoc could be somehow massaged into displaying both From impls on the doc of the Simd type too... |
Currently, it is possible to convert from portable_simd vectors to core::arch vectors, but not the reverse. Given that the vector element types that I have seen so far have no invalid bit patterns, I would expect that operation to always be safe. Am I misunderstood ?
The text was updated successfully, but these errors were encountered: