Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: go-webgpu/goffi
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.9
Choose a base ref
...
head repository: go-webgpu/goffi
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.4.0
Choose a head ref
  • 4 commits
  • 12 files changed
  • 1 contributor

Commits on Feb 27, 2026

  1. fix: sync fakecgo trampoline registers with purego v0.10.0

    ARM64: R26→R9 (callee-saved→volatile), R2→R9 (argument→volatile),
    add SAVE/RESTORE macros for threadentry callee-saved registers.
    
    AMD64: DX→R11 (argument→volatile), CX→R11, BX→R11 (callee-saved→volatile),
    JMP tail calls for notify/bindm, PUSH_REGS_HOST_TO_ABI0 for threadentry.
    kolkov committed Feb 27, 2026
    Configuration menu
    Copy the full SHA
    761df3a View commit details
    Browse the repository at this point in the history
  2. feat: crosscall2 integration for C-thread callback support (#16)

    Dispatchers route through crosscall2 → runtime·load_g → runtime·cgocallback.
    Supports callbacks from C-library-created threads (Metal, wgpu-native).
    
    - Add callbackWrap_call closure for ABIInternal fn ptr from assembly
    - Rewrite ARM64 dispatcher: FSTPD paired saves, go_asm.h offsets
    - Rewrite AMD64 dispatcher: PUSH_REGS_HOST_TO_ABI0, 24-byte gap
    - Copy abi_arm64.h / abi_amd64.h to ffi/ for assembly includes
    - Update README: advantages table, crosscall2 callbacks, v0.4.0 roadmap
    - Update CHANGELOG, ROADMAP for v0.4.0 release
    kolkov committed Feb 27, 2026
    Configuration menu
    Copy the full SHA
    87629a5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    209aa12 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #18 from go-webgpu/feat/v0.4.0-crosscall2-integration

    feat: crosscall2 integration for C-thread callback support
    kolkov authored Feb 27, 2026
    Configuration menu
    Copy the full SHA
    6fe9a0b View commit details
    Browse the repository at this point in the history
Loading