Changeset 26a9388 in mainline for kernel/generic/src/ipc/ipc.c

Timestamp:
2026-01-29T15:20:01Z (8 days ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
d1a551f, d98f43e
Parents:
c35cc8b
Message:

Use the stack pointer to derive CURRENT (if possible)

If provided by the compiler, use the builtin_stack_address()
intrinsic instead of
builtin_frame_address(0) to derive CURRENT.

This generally generates faster and shorter code. In cases where the
compiler does not maintain the frame pointer rountinely, it also does
not force the compiler to establish the stack frame for the current
function.

(No files)

Note: See TracChangeset for help on using the changeset viewer.