AArch64: Optimize stub to interpreter

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 20
    • Component/s: hotspot

      When stubs to interpreter are generated, the address of the interpreter is known. So we can either generate a direct jump or an adrp-based jump. An option also is to emit the address of the interpreter once, at the start of the stub section. So we can use `ldr rscratch1, adr; br rscratch1` instead of:

      0x0000ffff79bd2570: mov x8, #0xe58c // #58764
      0x0000ffff79bd2574: movk x8, #0x793b, lsl #16
      0x0000ffff79bd2578: movk x8, #0xffff, lsl #32
      0x0000ffff79bd257c: br x8

            Assignee:
            Evgeny Astigeevich
            Reporter:
            Evgeny Astigeevich
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: