Quantcast
Channel: /dev/posts/
Viewing all articles
Browse latest Browse all 104

Avoiding to clean the stack

$
0
0

In two previous posts, I looked into cleaning the stack frame of a function before using it by adding assembly at the beginning of each function. This was done either by modifying LLVM with a custom codegen pass or by rewriting the assembly between the compiler and the assembler. The current implementation adds a loop at the beginning of every function. We look at the impact of this modification on the performance on the application.


Viewing all articles
Browse latest Browse all 104

Trending Articles