Skip to content

Conversation

@tarcieri
Copy link
Member

Tests the implementation against random cases to ensure correctness

@tarcieri
Copy link
Member Author

That's no good. Seems like cmoveq/cmovne are broken on PPC32?

tarcieri added a commit that referenced this pull request Dec 28, 2025
Trying to catch the same bug from #1295 with the existing test suite
Tests the implementation against random cases to ensure correctness
Comment on lines +1 to +2
// TODO(tarcieri): known to be broken on PPC32. See RustCrypto/utils#1298
#![cfg(not(target_arch = "powerpc"))]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did this for now to get the tests to pass, but a compile_error! might be the safest stopgap until the bug is fixed

@tarcieri tarcieri merged commit a164fcb into master Dec 28, 2025
114 checks passed
@tarcieri tarcieri deleted the cmov/proptests branch December 28, 2025 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants