amdgcn: Fix subdf3 pattern
authorJulian Brown <julian@codesourcery.com>
Mon, 30 Nov 2020 20:01:37 +0000 (12:01 -0800)
committerJulian Brown <julian@codesourcery.com>
Wed, 13 Jan 2021 00:46:01 +0000 (16:46 -0800)
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.

gcc/config/gcn/gcn-valu.md

index 59d9849cb4e0a0f95555b69b313412ae4daf61ca..24c17212c2a359f01be729733d7c5daa0a693742 100644 (file)
   [(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")