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

x86: Improve encoding of negated FMA

XMLWordPrintable

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

      Currently, the FMA matcher for x86 only encodes FMA in the form a*b+c. If any of the operands are negated, an additional negation operation needs to be matched. However, x86 has additional FMA instructions that can encode forms such as a*b-c and -a*b+c in a single instruction. This would bring the x86 backend in line with other backends that support this feature, such as aarch64 and PPC.

            jkarthikeyan Jasmine Karthikeyan
            jkarthikeyan Jasmine Karthikeyan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: