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

AArch64: C2 SuperWord: implement sequential reduction for add/mul D/F

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 26
    • hotspot

      Found during JDK-8340093.

      ~/Documents/oracle/jdk-fork6/open/src/hotspot/cpu/aarch64/aarch64_vector.ad
      Matcher::match_rule_supported_auto_vectorization

      This seems to suggest that we don't want to use the implemented NEON reductions, because they use the recusive fold approach, which creates different errors. But of course, we could just implement a linear reduction.

      It also seems that there is no SVE support for linear float reductions, for add/mul on D/F.

      However: I'm not sure if that is profitable, probably only in edge cases. Still, I wanted to file this report, just so the issue is recorded.

            Unassigned Unassigned
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: