public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-2301] AArch32: Correct sdot RTL on aarch32
@ 2021-07-14 14:44 Tamar Christina
  0 siblings, 0 replies; only message in thread
From: Tamar Christina @ 2021-07-14 14:44 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c9165e2d58bb037793c1c93e1b5633a61f88db30

commit r12-2301-gc9165e2d58bb037793c1c93e1b5633a61f88db30
Author: Tamar Christina <tamar.christina@arm.com>
Date:   Wed Jul 14 15:22:37 2021 +0100

    AArch32: Correct sdot RTL on aarch32
    
    The RTL Generated from <sup>dot_prod<vsi2qi> is invalid as operand3 cannot be
    written to, it's a normal input.  For the expand it's just another operand
    but the caller does not expect it to be written to.
    
    gcc/ChangeLog:
    
            * config/arm/neon.md (<sup>dot_prod<vsi2qi>): Drop statements.

Diff:
---
 gcc/config/arm/neon.md | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gcc/config/arm/neon.md b/gcc/config/arm/neon.md
index 8b0a396947c..764512166e9 100644
--- a/gcc/config/arm/neon.md
+++ b/gcc/config/arm/neon.md
@@ -2961,13 +2961,7 @@
 		     DOTPROD)
 		    (match_operand:VCVTI 3 "register_operand")))]
   "TARGET_DOTPROD"
-{
-  emit_insn (
-    gen_neon_<sup>dot<vsi2qi> (operands[3], operands[3], operands[1],
-				 operands[2]));
-  emit_insn (gen_rtx_SET (operands[0], operands[3]));
-  DONE;
-})
+)
 
 ;; Auto-vectorizer pattern for usdot
 (define_expand "usdot_prod<vsi2qi>"


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-07-14 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 14:44 [gcc r12-2301] AArch32: Correct sdot RTL on aarch32 Tamar Christina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).