mailing list of musl libc
 help / color / mirror / code / Atom feed
6fd03b14c8bc891154cc4daeffe69fae771ebf34 blob 702 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
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";
debug log:

solving 652efb1 ...
found 652efb1 in https://inbox.vuxu.org/musl/20241002-gcc-bump-v1-3-8f910fd54b1c@gmx.net/ ||
	https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ ||
	https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ ||
	https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/

applying [1/4] https://inbox.vuxu.org/musl/20241002-gcc-bump-v1-3-8f910fd54b1c@gmx.net/
diff --git a/patches/gcc-14.2.0/0005-m68k-sqrt.diff b/patches/gcc-14.2.0/0005-m68k-sqrt.diff
new file mode 100644
index 0000000..652efb1

1:14: space before tab in indent.
 	(sqrt:FP (match_operand:FP 1 "general_operand" "")))]
1:21: space before tab in indent.
 	(sqrt:FP (match_operand:FP 1 "general_operand" "f<FP:dreg>m")))]
Checking patch patches/gcc-14.2.0/0005-m68k-sqrt.diff...
Applied patch patches/gcc-14.2.0/0005-m68k-sqrt.diff cleanly.
warning: 2 lines add whitespace errors.

skipping https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ for 652efb1
skipping https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ for 652efb1
skipping https://inbox.vuxu.org/musl/ZxjsGeXjnu6lY68X@probook/ for 652efb1
index at:
100644 6fd03b14c8bc891154cc4daeffe69fae771ebf34	patches/gcc-14.2.0/0005-m68k-sqrt.diff

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).