[Graal] Missing intrinsics for Math.ceil, floor, rint.

XMLWordPrintable

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

      A DESCRIPTION OF THE PROBLEM :
      The Math class lacks intrinsic implementations of the double precision fp rounding methods: ceil, floor, rint.

      On x86 SSE/AVX systems; It would be preferable to utilize instructions 'roundsd' rather than the default jdk implementation.
      Since there's also a packed variation, '(v)roundpd', the use of intrinsics may enable auto-vectorization where currently such optimization is obstructed by the default implementations of Math.ceil, floor, rint.

            Assignee:
            Unassigned
            Reporter:
            Jatin Bhateja
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: