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

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 24
    • Affects Version/s: 22
    • Component/s: 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

            Assignee:
            Bhavana Kilambi
            Reporter:
            Eric Liu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: