aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVictor Do Nascimento <victor.donascimento@arm.com>2024-06-05 10:35:50 +0100
committerVictor Do Nascimento <victor.donascimento@arm.com>2024-09-30 15:59:43 +0100
commit85a2ed05483ceb17bc33bd6e02d7e452fcaa02e1 (patch)
treeea98d399f07f0ebb737610917fac91f174e547e6 /gcc
parentc45ef5ee8da4de239bf7f5b66a45f7e6e797f954 (diff)
downloadgcc-85a2ed05483ceb17bc33bd6e02d7e452fcaa02e1.zip
gcc-85a2ed05483ceb17bc33bd6e02d7e452fcaa02e1.tar.gz
gcc-85a2ed05483ceb17bc33bd6e02d7e452fcaa02e1.tar.bz2
arc: Adjust dot-product backend patterns
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/arc/simdext.md (sdot_prodv2hi): Renamed to... (sdot_prodsiv2hi): ...this. (udot_prodv2hi): Renamed to... (udot_prodsiv2hi): ...this. (sdot_prodv4hi): Renamed to... (sdot_prodv2siv4hi): ...this. (udot_prodv4hi): Renamed to... (udot_prodv2siv4hi): ...this.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/arc/simdext.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/config/arc/simdext.md b/gcc/config/arc/simdext.md
index 4e51a23..0696f0a 100644
--- a/gcc/config/arc/simdext.md
+++ b/gcc/config/arc/simdext.md
@@ -1643,7 +1643,7 @@
;; We can use dmac as well here. To be investigated which version
;; brings more.
-(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" "")
@@ -1656,7 +1656,7 @@
DONE;
})
-(define_expand "udot_prodv2hi"
+(define_expand "udot_prodsiv2hi"
[(match_operand:SI 0 "register_operand" "")
(match_operand:V2HI 1 "register_operand" "")
(match_operand:V2HI 2 "register_operand" "")
@@ -1669,7 +1669,7 @@
DONE;
})
-(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" "")
@@ -1688,7 +1688,7 @@
DONE;
})
-(define_expand "udot_prodv4hi"
+(define_expand "udot_prodv2siv4hi"
[(match_operand:V2SI 0 "register_operand" "")
(match_operand:V4HI 1 "register_operand" "")
(match_operand:V4HI 2 "register_operand" "")