Skip to content

cmov: fix builds on x86 (32-bit) targets#863

Merged
tarcieri merged 3 commits intoRustCrypto:masterfrom
brxken128:fix-x86-cmov
Mar 24, 2023
Merged

cmov: fix builds on x86 (32-bit) targets#863
tarcieri merged 3 commits intoRustCrypto:masterfrom
brxken128:fix-x86-cmov

Conversation

@brxken128
Copy link
Contributor

There was a bug with CI (#861) which meant build issues on any architecture that differs from the host (x86_64 I believe) were suppressed.

I think this specific bug happens due to x86 registers not having the capacity to store anything > i32. To fix it, I re-used the cmov implementation for u128, but re-purposed it specifically for x86 and u64s.

Co-authored-by: Tony Arcieri <bascule@gmail.com>
@tarcieri tarcieri changed the title fix cmov builds on x86 cmov: fix builds on x86 (32-bit) targets Mar 24, 2023
@tarcieri tarcieri merged commit b05b15a into RustCrypto:master Mar 24, 2023
@tarcieri tarcieri mentioned this pull request Apr 3, 2023
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