Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init vector state in coverage tester #123

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Init vector state in coverage tester #123

merged 3 commits into from
Jan 21, 2025

Conversation

ncough
Copy link
Collaborator

@ncough ncough commented Jan 17, 2025

Sets the vector register array _Z to a series of random values. To simplify this change, also adds a call into the state to randomise this array, along with the existing _R array. Identifies and fixes three issues as a result of new behaviour:

  • X[slice] = ... where X is an integer was not supported
  • Adds UnsignedRSqrtEstimate and FPRSqrtEstimate to impure prims
  • Makes a guess at the implementation of sqrt_real
  • Offline copy prop could eliminate an impure operation by propagating it into a lift-time branch. Stop it from propagating any impure operation.

@ncough ncough merged commit e61acb0 into partial_eval Jan 21, 2025
4 checks passed
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