Relates :
|
On amd64 all address expressions are 64 bits values but a loop's index variable is mostly 32 bits value (integer). C2 uses ConvI2L operation to extand sign of an index variable when it is used in address expression. We can bypass ConvI2L if we know that the index variable is positive since the address expression is array reference which has the start of array as a base.
|