From: Julian Brown Date: Mon, 30 Nov 2020 20:01:37 +0000 (-0800) Subject: amdgcn: Fix subdf3 pattern X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d4e8393670ea05eadd0ac2308a99666b69362822;p=thirdparty%2Fgcc.git 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 gcc/ * config/gcn/gcn-valu.md (subdf): Rename to... (subdf3): This. (cherry picked from commit abb3993e49c04bd40e42f196f55785cc3fd81682) --- diff --git a/gcc/config/gcn/gcn-valu.md b/gcc/config/gcn/gcn-valu.md index e4d7f2a0f495..34a5f35d4c79 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")