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

Refactor multi-word array bounds check code #3069

Merged

Conversation

mshinwell
Copy link
Collaborator

This is a small refactoring-only PR which is needed for #3068 . That PR will make use of the existing logic used for SIMD bounds checks, made more generic in this PR.

(cherry picked from commit e73bed1)

@mshinwell mshinwell added the flambda2 Prerequisite for, or part of, flambda2 label Sep 24, 2024
@mshinwell mshinwell requested a review from TheNumbat September 24, 2024 12:44
Copy link
Contributor

@TheNumbat TheNumbat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Refactor looks good, but I'm a bit concerned about codegen (see godbolt link)

@TheNumbat TheNumbat merged commit b7d910d into ocaml-flambda:main Sep 25, 2024
16 checks passed
TheNumbat pushed a commit that referenced this pull request Oct 4, 2024
* Refactor multi-word array bounds check code

(cherry picked from commit e73bed1)

* Special case for width_in_scalars=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flambda2 Prerequisite for, or part of, flambda2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants