Repository navigation
Conversation
Those functions are only called once and in critical timing path, Inline would save the function parameter push/pull stack operation. Signed-off-by: Baofeng Tian <baofeng.tian@intel.com>
|
Do, you have any data for this? This kind of optimizations need to be documented. |
I do have, but it is in audio stream path, this is raw data path, it normally can save 5% or upper cycles with same test. |
these are IADK modules, used by AMD, we have no way to perform a test, so can't collect data, I collected data from |
ok, but what about code size impact ? |
I checked multiple times, seems there is no difference for inline and not inline, anything changed in compiler build options? They are same with below for tgl build: Now, I don't have a justification to keep this PR. |
Yeah, it looks like the compiler is doing the correct thing, not sure why you could see an perf difference, maybe rerun the test ? |
Those functions are only called once and in critical timing path, Inline would save the function parameter push/pull stack operation.