[rtems commit] i386: PR2010: Remove pc386 BSPs using soft-float

Joel Sherrill joel at rtems.org
Wed May 1 15:07:40 UTC 2013


Module:    rtems
Branch:    master
Commit:    5aa4ed9917071383371797272840c384a331d25e
Changeset: http://git.rtems.org/rtems/commit/?id=5aa4ed9917071383371797272840c384a331d25e

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Tue Apr 30 12:31:29 2013 -0500

i386: PR2010: Remove pc386 BSPs using soft-float

i386 soft-float is no longer supported by gcc. Dropping
all references to soft-float in the pc386 BSP.

---

 .../lib/libbsp/i386/pc386/make/custom/pc386dx.cfg  |   12 ---------
 .../libbsp/i386/pc386/make/custom/pc586-sse.cfg    |   26 +-------------------
 c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg   |   18 +-------------
 3 files changed, 2 insertions(+), 54 deletions(-)

diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pc386dx.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pc386dx.cfg
deleted file mode 100644
index 45d4a6c..0000000
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pc386dx.cfg
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-#  Configuration file for a PC using an i386 Class CPU w/o FPU
-#
-
-RTEMS_CPU_MODEL=i386dx
-
-#  This contains the compiler options necessary to select the CPU model
-#  and (hopefully) optimize for it.
-CPU_CFLAGS = -mtune=i386 -msoft-float -mno-fp-ret-in-387
-
-include $(RTEMS_ROOT)/make/custom/pc386.cfg
-
diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg
index ad6d94c..0d100c2 100644
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg
+++ b/c/src/lib/libbsp/i386/pc386/make/custom/pc586-sse.cfg
@@ -4,31 +4,7 @@
 
 RTEMS_CPU_MODEL=pentium
 
-#  This contains the compiler options necessary to select the CPU model
-#  and enable architecture-specific features and extensions.
-
-#  Note that the vanilla gcc multilibs for RTEMS are a joke. The
-#  variants only differ by a -mtune=xxx option which merely 'optimizes'
-#  for 'xxx' but does not use the full instruction set 'xxx' may implement.
-#  (fully bwd compatible with i386).
-#
-#  I'd recommend to roll your own set of (useful) multilibs instead...
-#
-#  Useful variants would be
-#    <default> (i386) (generic 386 with hard-float)
-#    -msoft-float     (generic 386 with soft-float)
-#    -march=pentium4  (P4 with sse2)
-#
-#  Note also: we give the -mtune=pentium option here only so that at least the
-#             variant optimized for pentium (w/o using any pentium-specific
-#             features) is used (assuming you use the vanilla RTEMS multilibs).
-#  
-#  And: The only sse-related feature the RTEMS support really needs is
-#             fxsave/fxrstor. You can build with -msse, -msse2 or -msse3,
-#             depending on your CPU.
-#             There are run-time checks resulting in a 'panic' if code
-#             compiled for e.g. -msse3 is executed on a CPU that only
-#             supports sse2, though.
+# This configuration is useful for SMP testing on Qemu
 CPU_CFLAGS = -mtune=pentium -march=pentium -msse2
 
 include $(RTEMS_ROOT)/make/custom/pc386.cfg
diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg
index 6804aee..34df823 100644
--- a/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg
+++ b/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg
@@ -4,22 +4,7 @@
 
 RTEMS_CPU_MODEL=pentium
 
-#  This contains the compiler options necessary to select the CPU model
-#  and enable architecture-specific features and extensions.
-
-#  Note that the vanilla gcc multilibs for RTEMS are a joke. The
-#  variants only differ by a -mtune=xxx option which merely 'optimizes'
-#  for 'xxx' but does not use the full instruction set 'xxx' may implement.
-#  (fully bwd compatible with i386).
-#
-#  I'd recommend to roll your own set of (useful) multilibs instead...
-#
-#  Useful variants would be
-#    <default> (i386) (generic 386 with hard-float)
-#    -msoft-float     (generic 386 with soft-float)
-#    -march=pentium4  (P4 with sse2)
-#
-#  Note also: we give the -mtune=pentium option here only so that at least the
+#  Note:      We give the -mtune=pentium option here only so that at least the
 #             variant optimized for pentium (w/o using any pentium-specific
 #             features) is used (assuming you use the vanilla RTEMS multilibs).
 #  
@@ -32,4 +17,3 @@ RTEMS_CPU_MODEL=pentium
 CPU_CFLAGS = -mtune=pentium4 -march=pentium4 -msse3
 
 include $(RTEMS_ROOT)/make/custom/pc386.cfg
-




More information about the vc mailing list