Skip to content
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

Miscompilation for sse4-i8x16 #2824

Closed
nurmukhametov opened this issue Apr 2, 2024 · 1 comment
Closed

Miscompilation for sse4-i8x16 #2824

nurmukhametov opened this issue Apr 2, 2024 · 1 comment
Assignees
Labels

Comments

@nurmukhametov
Copy link
Collaborator

The following code

void SetByte(int8& dest, int8 src)
{
    uniform uint32 mask = lanemask();
    unmasked
    {
        dest = select(((1 << programIndex) & mask) != 0, src, dest);
    }
}

is compiled for sse4-i8x16 target to

SetByte___REFvytvyt:                    # @SetByte___REFvytvyt
        ret

It looks like miscompilation.

@nurmukhametov
Copy link
Collaborator Author

This was actually fixed in v1.24.0 by #2800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants