Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6464263

Bypass ConvI2L operation for positive array's index on amd64

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • hs11
    • 7
    • hotspot
    • b08
    • sparc
    • solaris_9
    • Verified

        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.

              kvn Vladimir Kozlov
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: