When I do some modifications in my code that runs on Microblaze, I sometimes see a large discrepancy in runtime for the execution of code that follows the same path. To illustrate, what I really mean by same path, take this example,
if ( condition )
execute_this();
else
execute_that(); // Modified this function
So say if I modified the code for function execute_that
, I would see change in runtime even when condition
was set and function execute_this
has not been modified. What can cause this? Memory Alignment of Functions? Cache? Any clue?