-
Notifications
You must be signed in to change notification settings - Fork 11
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
Safety-washing #62
Comments
To be clear:
In D "memory safety" doesn't include null-safety.
__m128 _mm_load_ps(const(float)*p) pure @trusted
{
return *cast(__m128*)p;
} Rules from Adam:
|
Does D |
Also: same but with purity. Function that depend on, or change the rounding mode perhaps shouldn't be marked pure. |
As a frst step, none of the newly introduced intrinsics are incorrectly labelled |
Function that takes a pointer which is then accessed too greedily should be
@system
. This is breaking unfortunately.Find and fix all such functions that either cast a pointer to
__m128*
,__m128i*
,__m128d*
, or assume alignment.The text was updated successfully, but these errors were encountered: