Repository activity
40458 results across all weeks
Allow fexpr tests on annex modules
This allows tests such as
Keryan Didier (@Keryan-dev)Automatically generate a list of all %primitives
See lambda/primitives.txt, which is generated by tools/listprims.ml.
James Rayman (@jra4)Avoid materializing a zero for the merge operand of vsqrtsd (amd64)
With AVX enabled, scalar sqrt/round are selected as the three-operand forms (e.g. vsqrtsd src2, src1, dst), whose first source operand only supplies the upper bits of the result. The selector was prepending a zero vec128 constant as that operand, which materialized as an extra vxorpd and consumed a register:
Xavier Clerc (@xclerc)Avx512 arrays
Completes frontend support for arrays of vec512- and mask-layout values. Adds box & unbox primitives for masks, which were missing. Ports the 256-bit array tests to 512 bit, and adds an equivalent test for mask arrays.
Max Slater (@TheNumbat)Avx512 backend support
Uses the new avx512 instructions to complete the implementation of basic operations on 512-bit vectors and masks. This also required adding a Const_mask constructor to cmm for static masks.
Max Slater (@TheNumbat)Avx512 beta extension
Promotes the avx512 types from simd_alpha to simd_beta, since their basic functionality is now in place.
Max Slater (@TheNumbat)Avx512 intrinsics
(wip)
Max Slater (@TheNumbat)Avx512 intrinsics
(wip)
Max Slater (@TheNumbat)Avx512 mask load/store
Implements string/bytes/bigstring load/store primitives for AVX512 mask registers. They follow the same structure as the existing primitives; the only difference from 64-bit load/store is that they generate kmov instructions (via the Word_mask memory chunk) instead of normal moves.
Max Slater (@TheNumbat)Bump the actions group across 1 directory with 4 updates
Bumps the actions group with 4 updates in the / directory: actions/checkout, actions/upload-artifact, actions/cache/restore and actions/cache/save.
Dependabot (@dependabot)CFG jump threading to avoid bit materialization
Adds a pre-register-allocation CFG pass, Cfg_branch_fold, that eliminates the intermediate boolean materialization that can happen, for example, when || or && are used as a branch condition.
ttebbi-janestreetChange most stdlib/built-in parameterised types to take `any`
Not ready for review
Luke Maurer (@lukemaurer)Change the kind of the parameter of `option` to `any`
-type 'a option =
Luke Maurer (@lukemaurer)Check for new XXX comments in CI
In the spirit of the 80-character check, make sure no PR introduces a change that adds an XXX comment. Such comments aren't themselves a problem, of course, but usually they indicate that someone meant to address something before they made a PR.
Luke Maurer (@lukemaurer)Continuation_uses_env: refine arg types based on arity
We record continuations with their arity in the Continuation_uses_env, in order to be able to refine the types of the arguments based on the arity of the continuation. This is necessary to restore variant unboxing in some cases.
Nathanaëlle Courant (@Ekdohibs)Copy operation
Implements the copy operation in the solver, to be used later for instantiation.
ainageorgesCost metrics of set of closures are wrong
Currently, we incorporate the cost metrics of sets of closures by counting the code size of the associated code IDs as part of the code size of the enclosing function, because we always re-simplify those code IDs when we simplify the function. This has two issues:
Basile Clément (@bclement-ocp)Cost metrics of set of closures containing stubs shouldn't include the size of stubs
Not trivial to fix because size should depend on whether stubs should be resimplified
Nathanaëlle Courant (@Ekdohibs)Curry mode without using the argument
Previously, in a curried function fun a () -> ... , the parameter a 's full mode was fed into close_over, so an argument's monadic mode (e.g. unique, uncontended, read_write) forced the inner closure to a its dual mode (in this case once, nonportable, stateful) even when a was never used in the body of the function.
ainageorgesDelay adding constraints to Allocation/Locality mode axes
Delay the decision on whether to force allocation in closures local or closure with allocations alloc until the end of typing phase (except for the [module type of] case).
zhizhuoxin