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

Costs of memory operands in aarch64.ad are inconsistent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • b64
    • arm

        The following operands have cost 0:
        - indirect
        - indIndexScaledI2L
        - indIndexScaled
        - indIndex
        - indOffL
        - indirectN
        - indIndexScaledOffsetIN
        - indIndexScaledI2LN
        - indIndexScaledN
        - indIndexN
        - indOffIN
        - indOffLN

        Whereas the following operands have cost 'INSN_COST':
        - indIndexScaledOffsetI
        - indIndexScaledOffsetL
        - indIndexScaledOffsetI2L
        - indOffI
        - indIndexScaledOffsetLN
        - indIndexScaledOffsetI2LN

        In my opinion there is no reason for 'indOffI' being more expensive than 'indOffL'.

              thartmann Tobias Hartmann
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: