Skip to contentSkip to conversation

arch/Config.in.arc: clarify float configuration

PATCH In review Waldemar Brodkorb 1 participant 2 messages Aug 24 – Oct 13

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch/Config.in.arc: clarify float configuration

Select soft-float configurations where appropriate, checked with all selectable CPU's and uClibc-ng toolchains.

uClibc-ng enabled FENV support for hard-float toolchains unconditionally in commit 4c5039b80ebbe42db35af189afcff7fb7d5cace6.

Glibc has a preconfigure script to check if the toolchain is a soft-float toolchain.

Fixes:
- https://autobuild.buildroot.org/results/d0e735bcd9de979ab74df0c2f5229f7534d1539a

---
 arch/Config.in.arc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
arch/Config.in.arc +7 -1
index f250ae5eeb..8fac281045 100644
@@ -7,12 +7,15 @@ choice
 
 config BR2_arc750d
 	bool "ARC 750D"
+	select BR2_SOFT_FLOAT
 
 config BR2_arc770d
 	bool "ARC 770D"
+	select BR2_SOFT_FLOAT
 
 config BR2_archs38
 	bool "ARC HS38"
+	select BR2_SOFT_FLOAT
 	help
 	  Generic ARC HS capable of running Linux, i.e. with MMU,
 	  caches and 32-bit multiplier. Also it corresponds to the
@@ -20,6 +23,7 @@ config BR2_archs38
 
 config BR2_archs38_64mpy
 	bool "ARC HS38 with 64-bit mpy"
+	select BR2_SOFT_FLOAT
 	help
 	  Fully featured ARC HS capable of running Linux, i.e. with
 	  MMU, caches and 64-bit multiplier.
@@ -39,15 +43,17 @@ config BR2_archs38_full
 
 config BR2_archs4x_rel31
 	bool "ARC HS48 rel 31"
+	select BR2_SOFT_FLOAT
 	help
 	  Build for HS48 release 3.1
 
 config BR2_archs4x
 	bool "ARC HS48"
+	select BR2_SOFT_FLOAT
 	help
 	  Latest release of HS48 processor
 	   - Dual and Quad multiply and MAC operations
-	   - Double-precision FPU
+	   - Double-precision FPU (optional)
 
 endchoice
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi,

friendly ping.

best regards
Waldemar

Waldemar Brodkorb wrote,

Quoted 72 lines

Select soft-float configurations where appropriate, checked with all selectable CPU's and uClibc-ng toolchains.

uClibc-ng enabled FENV support for hard-float toolchains unconditionally in commit 4c5039b80ebbe42db35af189afcff7fb7d5cace6.

Glibc has a preconfigure script to check if the toolchain is a soft-float toolchain.

Fixes:
- https://autobuild.buildroot.org/results/d0e735bcd9de979ab74df0c2f5229f7534d1539a

---
 arch/Config.in.arc | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
arch/Config.in.arc +7 -1
index f250ae5eeb..8fac281045 100644
@@ -7,12 +7,15 @@ choice
 
 config BR2_arc750d
 	bool "ARC 750D"
+	select BR2_SOFT_FLOAT
 
 config BR2_arc770d
 	bool "ARC 770D"
+	select BR2_SOFT_FLOAT
 
 config BR2_archs38
 	bool "ARC HS38"
+	select BR2_SOFT_FLOAT
 	help
 	  Generic ARC HS capable of running Linux, i.e. with MMU,
 	  caches and 32-bit multiplier. Also it corresponds to the
@@ -20,6 +23,7 @@ config BR2_archs38
 
 config BR2_archs38_64mpy
 	bool "ARC HS38 with 64-bit mpy"
+	select BR2_SOFT_FLOAT
 	help
 	  Fully featured ARC HS capable of running Linux, i.e. with
 	  MMU, caches and 64-bit multiplier.
@@ -39,15 +43,17 @@ config BR2_archs38_full
 
 config BR2_archs4x_rel31
 	bool "ARC HS48 rel 31"
+	select BR2_SOFT_FLOAT
 	help
 	  Build for HS48 release 3.1
 
 config BR2_archs4x
 	bool "ARC HS48"
+	select BR2_SOFT_FLOAT
 	help
 	  Latest release of HS48 processor
 	   - Dual and Quad multiply and MAC operations
-	   - Double-precision FPU
+	   - Double-precision FPU (optional)
 
 endchoice
 
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot