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

InlineIntrinsics support for 32-bit ARM

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 18
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b10
    • CPU:
      arm

      Description

      Currently, 32-bit ARM is the only platform which does not have InlineIntrinsics enabled by default. This is the case because it is not implemented in the template interpreter. Other platforms do this by simply calling into the SharedRuntime implementations of the math intrinsics.

      I propose to do the same for 32-bit ARM to be able to enable InlineIntrinsics by default.

      Since the java.lang.StrictMath implementation currently calls into fdlibm, which has basically the same implementation for the operations as the shared runtime has, the benefit might not be as big as expected, but it should save a couple of method calls, which might be especially beneficial within the interpreter on small and not so powerful ARM devices.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cgo Christoph Göttschkes
              Reporter:
              cgo Christoph Göttschkes
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: