Tool/software:
Hi Champs,
Customer have found that our code takes a long time to run with judgment operation, which is much slower than other operations.
For example:
if (V2 == 1)
{
V3 = 1;
}This takes 0.1us to run
if ((V4 == 1U) && (V5 == 1U))
{
V6 = 1;
}This takes 0.142us to run
Customer tried to increase the optimization level, but the time did not decrease. Is there a way to reduce the running time of this logical operation? In addition, do we have a benchmark for logical operations that we can provide to customer?
Thanks!
Best Regards,
Julia