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

AArch64: take better advantage of base + shifted offset addressing mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b120
    • aarch64

      The aarch64 port implicitly transforms:
      (AddP base (AddP base address (LShiftL index con)) offset)
      into:
      (AddP base (AddP base offset) (LShiftL index con))
      in the ad file to embed the shift (and possibly and i2l conversion) into the addressing mode of a memory operation. Exposing that transformation in the ideal graph allows:

      - (AddP base offset) to be scheduled (for instance outside a loop)
      - multiple identical (AddP base offset) can be commoned
      - (LShiftL index con) can be cloned during matching so that each memory access has its own

            roland Roland Westrelin
            roland Roland Westrelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: