Skip to content

ctutils: use signed Cmov* trait impls#1282

Merged
tarcieri merged 1 commit into
masterfrom
ctutils/use-signed-cmov-impls
Dec 27, 2025
Merged

ctutils: use signed Cmov* trait impls#1282
tarcieri merged 1 commit into
masterfrom
ctutils/use-signed-cmov-impls

Conversation

@tarcieri

@tarcieri tarcieri commented Dec 27, 2025

Copy link
Copy Markdown
Member

Uses the Cmov/CmovEq impls added to signed integers (e.g. i8, i16) in #1280 to simplify the macros for writing impls of CtEq and CtSelect which are backed by the afforementioned Cmov* traits.

This also allows all of the optimization work to happen in the cmov crate.

Uses the `Cmov`/`CmovEq` impls added to signed integers (e.g. `i8`,
`i16`) in #1280 to simplify the macros for writing impls of `CtEq` and
`CtSelect` which are backed by the afforementioned `Cmov*` traits.

This also allows all of the optimization work to happen in the `cmov`
crate.
@tarcieri tarcieri force-pushed the ctutils/use-signed-cmov-impls branch from f35b7da to 904ed91 Compare December 27, 2025 05:42
@tarcieri tarcieri merged commit c6fe223 into master Dec 27, 2025
13 checks passed
@tarcieri tarcieri deleted the ctutils/use-signed-cmov-impls branch December 27, 2025 05:44
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.

1 participant