News for hackers. Stuff that matters.
Re:ngn/k, an AGPL K interpreter by saagarjha on Friday January 10, 2020 @07:06AM (#22010394)
> afaik zeroing %rbp here plays no role other than to assist debuggers.

Yep, it marks function frame boundaries. If you don't particularly care, you may want to consider compiling with -fomit-frame-pointer and the compiler will return this register back to the set of general purpose ones for it to use.

> i'm not sure if alignment makes any measurable difference. if it does, it'll be worth doing.

It will if you end up emitting any SSE instructions, because they will cause loads and stores that need to be aligned.

There are no comments on this comment yet.