public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-10] amdgcn: Fix subdf3 pattern
@ 2021-01-13  1:06 Julian Brown
  0 siblings, 0 replies; only message in thread
From: Julian Brown @ 2021-01-13  1:06 UTC (permalink / raw)
  To: gcc-cvs

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

commit d4e8393670ea05eadd0ac2308a99666b69362822
Author: Julian Brown <julian@codesourcery.com>
Date:   Mon Nov 30 12:01:37 2020 -0800

    amdgcn: Fix subdf3 pattern
    
    This patch fixes a typo in the subdf3 pattern that meant it had a
    non-standard name and thus the compiler would emit a libcall rather than
    the proper hardware instruction for DFmode subtraction.
    
    Backport from mainline:
    
    2021-01-13  Julian Brown  <julian@codesourcery.com>
    
    gcc/
            * config/gcn/gcn-valu.md (subdf): Rename to...
            (subdf3): This.
    
    (cherry picked from commit abb3993e49c04bd40e42f196f55785cc3fd81682)

Diff:
---
 gcc/config/gcn/gcn-valu.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/gcn/gcn-valu.md b/gcc/config/gcn/gcn-valu.md
index e4d7f2a0f49..34a5f35d4c7 100644
--- a/gcc/config/gcn/gcn-valu.md
+++ b/gcc/config/gcn/gcn-valu.md
@@ -2185,7 +2185,7 @@
   [(set_attr "type" "vop3a")
    (set_attr "length" "8,8")])
 
-(define_insn "subdf"
+(define_insn "subdf3"
   [(set (match_operand:DF 0 "register_operand"  "=  v,   v")
 	(minus:DF
 	  (match_operand:DF 1 "gcn_alu_operand" "vSvB,   v")


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

only message in thread, other threads:[~2021-01-13  1:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-13  1:06 [gcc/devel/omp/gcc-10] amdgcn: Fix subdf3 pattern Julian Brown

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).