Skip to content

Conversation

@tarcieri
Copy link
Member

Adds impls of Cmov/CmovEq for i8, i16, i32, i164, and i128

Adds impls of `Cmov`/`CmovEq` for `i8`, `i16`, `i32`, `i164`, and `i128`
@tarcieri tarcieri merged commit 544cf11 into master Dec 27, 2025
17 checks passed
@tarcieri tarcieri deleted the cmov/signed-integer-support branch December 27, 2025 05:25
@tarcieri tarcieri mentioned this pull request Dec 27, 2025
tarcieri added a commit that referenced this pull request Dec 27, 2025
### Added
- Signed integer support (#1280)
tarcieri added a commit that referenced this pull request Dec 27, 2025
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 added a commit that referenced this pull request Dec 27, 2025
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 added a commit that referenced this pull request Dec 27, 2025
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.
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