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

[vectorapi] Unary operations rint, floor, and ceil

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • P4
    • tbd
    • 21, 22, 23
    • hotspot

    Description

      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.

      Attachments

        Activity

          People

            jbhateja Jatin Bhateja
            psandoz Paul Sandoz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: