On Friday, 22 January 2016 at 12:18:53 UTC, anonymous wrote:
----
int pmovmskb(byte16 v)
{
    int r;
    asm
    {
        movdqa XMM0, v;
        pmovmskb EAX, XMM0;
        mov r, EAX;
    }
    return r;
}
----
This code returns 0 for any input v

Removed the `inout` because it doesn't make sense. You may be looking for `ref`.
yeah


Reply via email to