Skip to content

Replace the carrying_mul harnesses with autoharness - #821

Open
bardiharborow wants to merge 1 commit into
model-checking:mainfrom
bardiharborow:fix-carrying-mul-autoharness
Open

bardiharborow wants to merge 1 commit into
model-checking:mainfrom
bardiharborow:fix-carrying-mul-autoharness

Conversation

@bardiharborow

Copy link
Copy Markdown

Remove the 8 hand-written carrying_mul harnesses and verify carrying_mul with autoharness instead, over all inputs, for 11 of the 12 integer types. The $ anchor keeps the patterns from also matching carrying_mul_add.

For u32 and u64, the removed harnesses only checked operands in three 21-value intervals, and none of them covered the signed types, u128 or usize.

isize is not listed due to there being an actual bug in the non-LLVM intrinsic fallback (rust-lang#166858).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Remove the 8 hand-written `carrying_mul` harnesses and verify `carrying_mul`
with autoharness instead, over all inputs, for 11 of the 12 integer types.
The `$` anchor keeps the patterns from also matching `carrying_mul_add`.

For `u32` and `u64`, the removed harnesses only checked operands in three
21-value intervals, and none of them covered the signed types, `u128` or
`usize`.

`isize` is not listed due to an upstream issue.
@bardiharborow
bardiharborow requested a review from a team as a code owner December 4, 2026 18:35

This branch has not been deployed

No deployments
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