Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: signed, unsigned integer and wrap

$
0
0

Hi,

I read the following from the C6000 hand tune loops for C6000. Does it mean signed integers not wrap around?

unsigned integer is wrap around? Could you explain it to me?

Thanks,

 

 

..............

Make sure index variables are signed integers. This communicates to the compiler that

increments are linear (do not wrap around). This includes index variables used to do

counting in loops. It also includes index variables used for subscripting. When the compiler

knows that index variables are linear, there are more opportunities for optimization.


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>