]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
c6x: Adjust dot-product backend patterns
authorVictor Do Nascimento <victor.donascimento@arm.com>
Wed, 5 Jun 2024 09:55:06 +0000 (10:55 +0100)
committerVictor Do Nascimento <victor.donascimento@arm.com>
Mon, 30 Sep 2024 14:59:43 +0000 (15:59 +0100)
Following the migration of the dot_prod optab from a direct to a
conversion-type optab, ensure all back-end patterns incorporate the
second machine mode into pattern names.

gcc/ChangeLog:

* config/c6x/c6x.md (sdot_prodv2hi): Renamed to...
(sdot_prodsiv2hi): ...this.

gcc/config/c6x/c6x.md

index 5964dd69d0d0a53992869f78f1150c19dfbad4fc..ea9ffe8b4e107faaa59883951c9d22d7da0e7b24 100644 (file)
 ;; Widening vector multiply and dot product.
 ;; See c6x-mult.md.in for the define_insn patterns
 
-(define_expand "sdot_prodv2hi"
+(define_expand "sdot_prodsiv2hi"
   [(match_operand:SI 0 "register_operand" "")
    (match_operand:V2HI 1 "register_operand" "")
    (match_operand:V2HI 2 "register_operand" "")