aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorVictor Do Nascimento <victor.donascimento@arm.com>2024-06-05 10:51:29 +0100
committerVictor Do Nascimento <victor.donascimento@arm.com>2024-09-30 15:59:43 +0100
commit113e31cc32450fffbb7cc9b72c8d597b29ad9f0e (patch)
tree98b61a00b02a9b535ab81804f0b88d1488bb719c /gcc
parentd33786b1628f5bcfc5120f8f5390e1042e36618c (diff)
downloadgcc-113e31cc32450fffbb7cc9b72c8d597b29ad9f0e.zip
gcc-113e31cc32450fffbb7cc9b72c8d597b29ad9f0e.tar.gz
gcc-113e31cc32450fffbb7cc9b72c8d597b29ad9f0e.tar.bz2
rs6000: Adjust altivec 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/rs6000/altivec.md (udot_prod<mode>): Renamed to... (udot_prodv4si<mode>): ...this. (sdot_prodv8hi): Renamed to... (sdot_prodv4siv8hi): ...this.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/rs6000/altivec.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/altivec.md b/gcc/config/rs6000/altivec.md
index e4576c6..00dad4b 100644
--- a/gcc/config/rs6000/altivec.md
+++ b/gcc/config/rs6000/altivec.md
@@ -3749,7 +3749,7 @@
}
})
-(define_expand "udot_prod<mode>"
+(define_expand "udot_prodv4si<mode>"
[(set (match_operand:V4SI 0 "register_operand" "=v")
(plus:V4SI (match_operand:V4SI 3 "register_operand" "v")
(unspec:V4SI [(match_operand:VIshort 1 "register_operand" "v")
@@ -3761,7 +3761,7 @@
DONE;
})
-(define_expand "sdot_prodv8hi"
+(define_expand "sdot_prodv4siv8hi"
[(set (match_operand:V4SI 0 "register_operand" "=v")
(plus:V4SI (match_operand:V4SI 3 "register_operand" "v")
(unspec:V4SI [(match_operand:V8HI 1 "register_operand" "v")