Files
tinygo/src/machine
Ayke van Laethem b203314c2f machine: make sure DMA buffers do not escape unnecessarily
Writing the pointer of a buffer to memory-mapped I/O will normally cause
it to escape, which forces the compiler to heap-allocate the buffer. But
we do know how long the value stays alive, so we can tell the compiler
to keep it alive exactly until it is not needed anymore - and tell it to
not treat the pointer-to-uintptr cast as escaping.
2025-11-12 18:07:53 +01:00
..
2025-07-16 17:30:54 +02:00
2023-05-09 19:51:05 +02:00
2023-06-01 21:04:36 +02:00
2024-12-18 19:36:30 +01:00
2023-12-03 12:55:22 +01:00
2023-05-20 21:18:02 +02:00
2023-07-16 10:27:33 +02:00
2024-12-18 19:36:30 +01:00
2024-12-18 19:36:30 +01:00
2021-04-06 20:36:10 +02:00
2024-12-18 19:36:30 +01:00
2025-03-11 04:22:16 -07:00
2025-05-25 10:01:43 +02:00