-
Notifications
You must be signed in to change notification settings - Fork 89
Basic mixed blocks for float#
in runtime 5
#2380
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
Merged
Merged
Changes from all commits
Commits
Show all changes
97 commits
Select commit
Hold shift + click to select a range
ebc65b3
Records mixing immediates, floats, and float64s
ccasin a6e709b
Cleanup of names
ncik-roberts 5506194
Slightly more intelligible implementation of record shape detection
ncik-roberts a42d006
Small simplification + remove comment
ncik-roberts 857035d
More renames than before
ncik-roberts 2744fa8
Raise on poly compare and hash
ncik-roberts 8948a6e
Fix some, but not all, bugs in bytecomp: we segfault on the 100-gener…
ncik-roberts 938ce15
Fix off-by-one for zero value prefix len
ncik-roberts c10af4b
No more runtime mixed blocks in bytecode
ncik-roberts e8e620d
Macroize things more
ncik-roberts a3c75aa
Support weak pointer shallow copy
ncik-roberts 3157c86
A few more places where we need to check for mixed blocks
ncik-roberts d8bbdb4
Most issues fixed
ncik-roberts 2304de4
Rename more 'abstract' things to 'mixed'
ncik-roberts 9b86c13
Remove ability to mix boxed floats with unboxed floats
ncik-roberts 3c77580
Fix bugs and more accurately track offsets
ncik-roberts faf1848
Fix bugs and more accurately track budgets
ncik-roberts d18c7d7
Get let-rec working with mixed blocks
ncik-roberts 6e6391c
Add tests for mixed blocks
ncik-roberts 5fa7dca
Clarify comment
ncik-roberts 0d0e8ca
Use corrected-style tests and actually run the small generated examples
ncik-roberts 3c00b09
Fix recursive values test
ncik-roberts 06e8096
Fix typo in generated TEST stanza
ncik-roberts edf77d6
comment and format
ncik-roberts 811e5cc
Restore support for floats
ncik-roberts 2b1d10e
Flesh out the test suite a bit to cover records with floats in the pr…
ncik-roberts 96af30e
Fix bug
ncik-roberts e060d3d
Small tweaks to comments / bugfixes in dead code
ncik-roberts 9e03c49
Fix up Chris's old tests
ncik-roberts 77945ca
Cleanup and comments
ncik-roberts ac0146a
Commit to storing floats flat in mixed-float-float# blocks
ncik-roberts 39827c7
Actually test all floats mixed records
ncik-roberts 0db0cee
Some progress in merging, will continue Mon
ncik-roberts 07884ab
Finish resolving type errors related to conflicts after merge
ncik-roberts bf4026a
Resolve some CRs
ncik-roberts b057b6e
Resolve more CRs
ncik-roberts 345c52f
Clarify that bytecode operations don't raise
ncik-roberts c241948
Back out an unnecessary change to backend/cmm_helpers.ml
ncik-roberts 1eb38cc
Back out probably unnecessary changes to cmmgen.ml
ncik-roberts 5ecbce9
Add test for too many fields to show error message
ncik-roberts ad5c1f6
Fix local test to actually test something. Use better macros.
ncik-roberts 88ce596
Make polymorphic hash raise for mixed blocks
ncik-roberts 8113ebf
Fix updating of dummy blocks
ncik-roberts 20bda95
Add some comments about mixed blocks
ncik-roberts ac96e0a
Revert unintentional changes to runtime4
ncik-roberts 0551547
Fix merge conflicts and type errors
ncik-roberts 2e4f3ab
make fmt
ncik-roberts c2db203
Move mixed records to layouts alpha
ncik-roberts 95477b4
Always set reserved header bits to 8
ncik-roberts e99ea6c
Reenable support for enable-profinfo-width in runtime 4
ncik-roberts fb0347e
Merge branch 'reserve-header-bits-in-runtime-5' into nroberts/mixed-b…
ncik-roberts 53bfaeb
Fix segfault in printing + in no-allocness of hash
ncik-roberts ab8839b
Most of stedolan's comments
ncik-roberts 28f8879
Adopt stedolan's suggestion for structure of `oldify_one` and `oldify…
ncik-roberts 537f16c
Accept TheNumbat's suggestions
ncik-roberts e139851
Address rest of @TheNumbat's comments
ncik-roberts 3b5d3a9
Revert change to conflict markers irrelevant to this PR
ncik-roberts d7dc293
no u
ncik-roberts 9ad4d3c
Segregate runtime 4 and 5 tests
ncik-roberts 939f5d6
Fix typo
ncik-roberts 4e7ecc6
Clarify comment
ncik-roberts 45aeddd
Clarify comment
ncik-roberts ea99732
Factor out a gnarly function
ncik-roberts 30cbd43
Use mixed_block version of primitives for getting/setting value fields
ncik-roberts afa2a48
make fmt
ncik-roberts 8de0389
Fix bug in all-float mixed records and fix accidental omission in tests
ncik-roberts 3be989e
Segregate tests for all-float mixed records and mixed blocks
ncik-roberts 0de3604
Correct comment in float64 tests
ncik-roberts bb8a566
Rework test structure
ncik-roberts ec53f58
Comment raisiness
ncik-roberts 96bee23
Fix bug in printing
ncik-roberts d2f7797
Fix confusing name
ncik-roberts 47bf56f
Flat_imm_element -> Imm_element
ncik-roberts 143e600
Reshuffle tests so we don't get error message clashes between runtime…
ncik-roberts 846e4ff
Stop unnecessarily numbering tests
ncik-roberts 410a2f2
Fix upstream build
ncik-roberts f19dfc1
'Fix' upstream build
ncik-roberts b97986f
Respond to stedolan's comments
ncik-roberts 6739afa
Respond to review of @TheNumbat and @lthls
ncik-roberts 4056319
Fix bug in oldify_one
ncik-roberts d3ae768
Re-enable test of recursive value (accidentally disabled) and allow r…
ncik-roberts 3d7894f
Simplify generated test code, and just check in full test
ncik-roberts b1cafee
Remove unnecessary test.reference file
ncik-roberts f3a0116
Fix printing bug in bytecode
ncik-roberts 76145f8
Allow the Obj.double_field call in printing to work on mixed blocks
ncik-roberts 1053db7
Fix tests that I accidentally broke
ncik-roberts 420efba
Merge remote-tracking branch 'origin/main' into nroberts/mixed-blocks
ncik-roberts dcc9ae6
Continue rejecting mixed blocks from runtime 4 type-checker
ncik-roberts fdfa7e8
Resolve hash CR: implement hash differently in native code vs. bytecode
ncik-roberts 889d3cc
Revert to hashing a constant for mixed blocks
ncik-roberts 3b5fa24
Just take the hash of the scannable prefix
ncik-roberts abc4271
Minimize needless diff in runtime
ncik-roberts 7422ae8
Re-enable an accidentally disabled test and fix a bug related to Obj.…
ncik-roberts fa4e61f
Slightly more consistent name (`caml_alloc_small_with_reserved`)
ncik-roberts 46922ed
Add missing functionality and test for mixed block over young wosize …
ncik-roberts be70874
add new function to headers
ncik-roberts ef9a081
Merge remote-tracking branch 'origin/main' into nroberts/mixed-blocks
ncik-roberts File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.