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

Remove unnecessary jumps in Intel Math Library StubRoutines

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b21

      Description

      ```
      - - - [BEGIN] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      StubRoutines::libmPow [0x00007f0f8455ddd1, 0x00007f0f8455ef05] (4404 bytes)
      --------------------------------------------------------------------------------
        0x00007f0f8455ddd1: push %rbp
        0x00007f0f8455ddd2: mov %rsp,%rbp
        0x00007f0f8455ddd5: jmpq 0x00007f0f8455ddda <--- unnecessary jump
        0x00007f0f8455ddda: sub $0x28,%rsp
        0x00007f0f8455ddde: vmovsd %xmm0,0x8(%rsp)
        0x00007f0f8455dde4: vmovsd %xmm1,0x10(%rsp)
        ...
      ```

      ```
      - - - [BEGIN] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      StubRoutines::libmLog [0x00007f3fb94d48a6, 0x00007f3fb94d4b22] (636 bytes)
      --------------------------------------------------------------------------------
        0x00007f3fb94d48a6: push %rbp
        0x00007f3fb94d48a7: mov %rsp,%rbp
        0x00007f3fb94d48aa: jmpq 0x00007f3fb94d48af <--- unnecessary jump
        0x00007f3fb94d48af: sub $0x18,%rsp
        0x00007f3fb94d48b3: vmovsd %xmm0,(%rsp)
        0x00007f3fb94d48b8: movabs $0x3ff0000000000000,%rax
        ...
      ```

      ```
      - - - [BEGIN] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      StubRoutines::libmExp [0x00007f3fb94d4579, 0x00007f3fb94d48a6] (813 bytes)
      --------------------------------------------------------------------------------
        0x00007f3fb94d4579: push %rbp
        0x00007f3fb94d457a: mov %rsp,%rbp
        0x00007f3fb94d457d: jmpq 0x00007f3fb94d4582 <--- unnecessary jump
        0x00007f3fb94d4582: sub $0x18,%rsp
        0x00007f3fb94d4586: vmovsd %xmm0,0x8(%rsp)
        0x00007f3fb94d458c: vunpcklpd %xmm0,%xmm0,%xmm0
      ```

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jiefu Jie Fu
              Reporter:
              jiefu Jie Fu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: