x86: Improve encoding of negated FMA

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: 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.

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

              Created:
              Updated: