[vectorapi] Unary operations rint, floor, and ceil

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 21, 22, 23
    • Component/s: hotspot

      See use-case discussed here:
      https://mail.openjdk.org/pipermail/panama-dev/2024-May/020429.html

      Add unary operations for float/double vectors for the equivalent Math.rint/floor/ceil. The scalar operations are already intrinsified to vroundpd on x64, and can be auto-vectorized. So it should be relatively easy to add support for vector operations, reusing existing support for vroundpd and adding support for vroundps.

            Assignee:
            Jatin Bhateja
            Reporter:
            Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: