aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Brown <julian@codesourcery.com>2020-11-30 12:01:37 -0800
committerJulian Brown <julian@codesourcery.com>2021-01-12 16:46:01 -0800
commitabb3993e49c04bd40e42f196f55785cc3fd81682 (patch)
tree8867dc9f0030048915a8937dfcbe404fd86e6a84
parent6851dda2e7969c4ce06d49db97486213aba046e6 (diff)
downloadgcc-abb3993e49c04bd40e42f196f55785cc3fd81682.zip
gcc-abb3993e49c04bd40e42f196f55785cc3fd81682.tar.gz
gcc-abb3993e49c04bd40e42f196f55785cc3fd81682.tar.bz2
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. 2021-01-13 Julian Brown <julian@codesourcery.com> gcc/ * config/gcn/gcn-valu.md (subdf): Rename to... (subdf3): This.
-rw-r--r--gcc/config/gcn/gcn-valu.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/gcn/gcn-valu.md b/gcc/config/gcn/gcn-valu.md
index 59d9849..24c1721 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")