Skip to content

Instantly share code, notes, and snippets.

@undingen
undingen / HVML_submit.c
Last active November 7, 2024 23:01 — forked from VictorTaelin/HVML.c
$10k bounty - make HVML.c 50% faster on Apple M3
// Post: https://x.com/VictorTaelin/status/1854326873590792276
// Note: The atomics must be kept.
// Main changes:
// - supports linux by using mmap
// - computed gotos / threaded interpreter
// - optional support for atomic 128bit load/stores when ENABLE_128B is defined
//
// - some smaller changes to reduce pointer indirections
//