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

AArch64: C2: Add "requires_strict_order" flag for floating-point add and mul reduction

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 24
    • 22
    • hotspot
    • b02
    • generic
    • generic

      C2 distinguishes reduction into ordered and unordered. When vectorizing,
      unordered floating-point add reduction may get different value compared
      with it in order. Vector API does not define the order of reduction
      intentionally, which allows platforms to generate more efficient codes
      probably [1].

      [1] https://github.com/openjdk/jdk/blob/master/src/jdk.incubator.vector/share/classes/jdk/incubator/vector/FloatVector.java#L2529

            bkilambi Bhavana Kilambi
            eliu Eric Liu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: