mirror of
https://github.com/richfelker/musl-cross-make.git
synced 2025-08-01 14:03:24 +02:00

This adds the patches from the previously tested gcc version 14.2.0 and they have been tested to successfully apply to 14.3.0 with no issues. The libquadmath patch for GCC issue 116007 is not copied over because it has already been applied upstream. The corresponding hash has been added.
21 lines
703 B
Diff
21 lines
703 B
Diff
diff --git a/gcc/config/m68k/m68k.md b/gcc/config/m68k/m68k.md
|
|
index 59a456cd496..dbfddea41bd 100644
|
|
--- a/gcc/config/m68k/m68k.md
|
|
+++ b/gcc/config/m68k/m68k.md
|
|
@@ -4174,13 +4174,13 @@
|
|
(define_expand "sqrt<mode>2"
|
|
[(set (match_operand:FP 0 "nonimmediate_operand" "")
|
|
(sqrt:FP (match_operand:FP 1 "general_operand" "")))]
|
|
- "TARGET_HARD_FLOAT"
|
|
+ "(TARGET_68881 && TARGET_68040) || TARGET_COLDFIRE_FPU"
|
|
"")
|
|
|
|
(define_insn "sqrt<mode>2_68881"
|
|
[(set (match_operand:FP 0 "nonimmediate_operand" "=f")
|
|
(sqrt:FP (match_operand:FP 1 "general_operand" "f<FP:dreg>m")))]
|
|
- "TARGET_68881"
|
|
+ "TARGET_68881 && TARGET_68040"
|
|
{
|
|
if (FP_REG_P (operands[1]))
|
|
return "f<FP:round>sqrt%.x %1,%0";
|