From abb3993e49c04bd40e42f196f55785cc3fd81682 Mon Sep 17 00:00:00 2001 From: Julian Brown Date: Mon, 30 Nov 2020 12:01:37 -0800 Subject: [PATCH] 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 gcc/ * config/gcn/gcn-valu.md (subdf): Rename to... (subdf3): This. --- 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 59d9849cb4e..24c17212c2a 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") -- 2.30.2