1 From c993f40c536cf140b3c0a48bb323a01d21623d64 Mon Sep 17 00:00:00 2001
2 From: Szabolcs Nagy <nsz@port70.net>
3 Date: Mon, 24 May 2021 19:54:11 +0000
4 Subject: [PATCH 6/6] m68k sqrt
7 gcc/config/m68k/m68k.md | 4 ++--
8 1 file changed, 2 insertions(+), 2 deletions(-)
10 diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
11 index 8e35357ea23..65c8b10b3eb 100644
12 --- a/gcc/config/m68k/m68k.md
13 +++ b/gcc/config/m68k/m68k.md
14 @@ -4174,13 +4174,13 @@
15 (define_expand "sqrt<mode>2"
16 [(set (match_operand:FP 0 "nonimmediate_operand" "")
17 (sqrt:FP (match_operand:FP 1 "general_operand" "")))]
19 + "(TARGET_68881 && TARGET_68040) || TARGET_COLDFIRE_FPU"
22 (define_insn "sqrt<mode>2_68881"
23 [(set (match_operand:FP 0 "nonimmediate_operand" "=f")
24 (sqrt:FP (match_operand:FP 1 "general_operand" "f<FP:dreg>m")))]
26 + "TARGET_68881 && TARGET_68040"
28 if (FP_REG_P (operands[1]))
29 return "f<FP:round>sqrt%.x %1,%0";