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

AArch64: Optimize stub to interpreter

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 20
    • 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

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

              Created:
              Updated: