-
Notifications
You must be signed in to change notification settings - Fork 246
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
Integer bitwise rotate miscompilation #1062
Labels
t: bug
Something isn't working
Comments
Just FYI the same thing happens with |
averyanalex
changed the title
u64 bitwise rotate works incorrectly
Integer bitwise rotate miscompilation
Jul 10, 2023
I think @chrisliebaer just ran into the same issue, and AFAICT it's just this being flipped: rust-gpu/crates/rustc_codegen_spirv/src/builder/mod.rs Lines 243 to 247 in e96418f
(based on the name it should clearly be == not != )
|
eddyb
added a commit
to LykenSol/rust-gpu
that referenced
this issue
Feb 7, 2024
eddyb
added a commit
to LykenSol/rust-gpu
that referenced
this issue
Feb 7, 2024
…` for `mask_is_zero`.
eddyb
added a commit
that referenced
this issue
Feb 7, 2024
eddyb
added a commit
that referenced
this issue
Feb 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behaviour
Bitwise rotating works correctly.
Example & Steps To Reproduce
I was porting SHA512 and this function worked differently on CPU and GPU:
System Info
The text was updated successfully, but these errors were encountered: