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

Costs of memory operands in aarch64.ad are inconsistent

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b64
    • CPU:
      arm

      Backports

        Description

        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'.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: