]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
mips: Adjust dot-product backend patterns
authorVictor Do Nascimento <victor.donascimento@arm.com>
Wed, 5 Jun 2024 09:45:32 +0000 (10:45 +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/mips/loongson-mmi.md (sdot_prodv4hi): Renamed to...
(sdot_prodv2siv4hi): ...this.

gcc/config/mips/loongson-mmi.md

index dd166bfa4c96ce5eaeea0504035af398a6057ec9..4d9587301390d6fe36bdc0e001f55f89545f5900 100644 (file)
   "pmaddhw\t%0,%1,%2"
   [(set_attr "type" "fmul")])
 
-(define_expand "sdot_prodv4hi"
+(define_expand "sdot_prodv2siv4hi"
   [(match_operand:V2SI 0 "register_operand" "")
    (match_operand:V4HI 1 "register_operand" "")
    (match_operand:V4HI 2 "register_operand" "")