-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
Inline get_sp_limit, set_sp_limit, get_sp runtime functions #2521
Copy link
Copy link
Closed
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Metadata
Metadata
Assignees
Labels
A-runtimeArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsArea: std's runtime and "pre-main" init for handling backtraces, unwinds, stack overflowsI-slowIssue: Problems and improvements with respect to performance of generated code.Issue: Problems and improvements with respect to performance of generated code.
Type
Fields
Give feedbackNo fields configured for issues without a type.
These are tiny assembly functions that can account for over 3% in profiles (though
set_sp_limitis used less often). Write a benchmark where these are used a lot, rewrite them to be inline C functions containing inline assembly, measure the difference in performance.