Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    [arm64] generate `stlr` instead of `dmb ishld; str`

    This supersedes #6443. It keeps the same store-release codegen, but replaces the Word_int_unaligned memory chunk with a Sixtyfour chunk, which is the technically stronger design.

    Sebastian Pop (@sebpop)
  2. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    [arm64] runtime: skip the atomic-RMW fences when the RMW runs as an LSE atomic

    On AArch64 the acquire/release fences Note [MM] places around the atomic

    Sebastian Pop (@sebpop)
  3. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `-flambda2-match-in-match`: segfault calling a closure inlined from another module inside `try`

    m1.ml:

    Ethan Chou (@echoumcp1)
  4. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `-use-ssa -caml-apply-inline-fast-path`: SSA validator aborts with "CFG comparison MISMATCH"

    Ethan Chou (@echoumcp1)
  5. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `-use-ssa` with the reaper: SSA validator aborts with "Terminator dbg mismatch" on a match inside an exception handler

    Ethan Chou (@echoumcp1)
  6. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `[@tailcall]` with arrow type constraint still overflows stack

    Ethan Chou (@echoumcp1)
  7. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `[@unboxable]` on a local parameter makes the last calls of the function not tail calls

    With [@unboxable] on a local parameter, a function that calls itself last does not run in constant stack at the default level, -O2 and -O3. -Oclassic ignores the attribute; without it the loop runs in constant stack.

    Mark Shinwell (@mshinwell)
  8. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `[@unboxable]` on the result of a recursive function makes its recursive call not a tail call

    A function marked [@unboxable] that calls itself last does not run in constant stack at the default level, -O2 and -O3: the recursive call goes through the stub that boxes the result. -Oclassic ignores the attribute.

    Mark Shinwell (@mshinwell)
  9. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    `caml_is_stack` allows parent locals

    Makes caml_is_stack return true for references to an ancestor fiber's locals stack.

    Max Slater (@TheNumbat)
  10. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `float32#` constant 2^62 emitted as an `fmov` immediate, assembler rejects it

    Ethan Chou (@echoumcp1)
  11. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `let*` as the last expression of a function is not a tail call when the function allocates locally

    let* a = e in loop (n - 1) a as the last expression of a function is not compiled as a tail call when the function allocates on the local stack; a comparison of two tuples is enough, with no local_ in the source. A loop written so ends with Stack_overflow in native code; bytecode and OCaml 5.4.0 run it in constant stack.

    Mark Shinwell (@mshinwell)
  12. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `ocamlopt` crashes on a mixed record of more than 256 words with an `int8#` or `int16#` field

    Ethan Chou (@echoumcp1)
  13. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    `ocamlopt` crashes with `Bad equations at entry point` on a block of more than 256 words allocated inside `try`

    t has 257 fields: f0, an unboxed a, two mutable int64# fields b and c, and int fields f4 to f256

    Ethan Chou (@echoumcp1)
  14. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    add SanitizerCoverage-compatible instrumentation hooks

    Specifying ocamlopt -trace-pc-guard behaves similar to clang's -fsanitize-coverage=trace-pc-guard, which adds these invocations at every edge and at module initialization respectively:

    Doug Patti (@dpatti)
  15. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    add break statements to loops

    Add support for break_ statements inside for and while loops. Notes:

    jwshii
  16. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    amd64: `caml_int128_add` / `caml_int128_sub` builtins compute a wrong high word when the low half of `x` is the high half of `y`

    Alperen Keleş (@alpaylan)
  17. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    amd64: `ocamlopt -fno-avx` fails with `Fatal error: exception Not_found` on a store to a float32 Bigarray

    OxCaml main 9d845db9ba (2026-11-05) and 0d3c93580d; amd64 Linux, ./configure --enable-flambda-invariants.

    Alperen Keleş (@alpaylan)
  18. Pull requestW47.2026 · 16–22 Novoxcaml/oxcaml

    amd64: fix %rax clobbering in Compare_set for IRC

    This PR fixes a miscompilation bug where consecutive Atomic.compare_and_set calls on an int Atomic.t would succeed when they should fail, but only when compiled with -O3 -regalloc irc. The fix ensures the register allocator correctly handles the implicit clobbering of %rax by the cmpxchg instruction.

    Kausik Muthukumar (@SycamoreQ)
  19. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    amd64: optimized probe whose handler reads unboxed float fields fatal errors

    yusumez-js
  20. IssueW47.2026 · 16–22 Novoxcaml/oxcaml

    arm64: `(x lsr k) land (2^n - 1)` is not selected as `ubfx`

    A shifted and masked bit field is one ubfx on arm64. OxCaml emits the shift

    Thomas Gazagnaire (@samoht)