here are the 3 codes i need to change to shorten execution time.
any help will be greatly appreciated.
The moves and branches don't add any value to the processing - they are just overhead because of the algorithm you are using, and the use of the data_processing function adds branch overhead.
How would you consider removing it?
If you have a short function in C what is the common means to remove the overhead of the function call, and can you apply this technique here?