From 58679ac700107ff60ac6f7e0e642ae72dff99f8e Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Thu, 14 Jul 2011 14:44:47 +0000 Subject: 2011-07-14 Jennifer Averett * make/custom/pcp4.cfg: New file. --- c/src/lib/libbsp/i386/pc386/ChangeLog | 4 +++ c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg | 37 ++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg diff --git a/c/src/lib/libbsp/i386/pc386/ChangeLog b/c/src/lib/libbsp/i386/pc386/ChangeLog index ca2c6a6690..16e2af963f 100644 --- a/c/src/lib/libbsp/i386/pc386/ChangeLog +++ b/c/src/lib/libbsp/i386/pc386/ChangeLog @@ -1,3 +1,7 @@ +2011-07-14 Jennifer Averett + + * make/custom/pcp4.cfg: New file. + 2011-06-19 Ralf Corsépius * Makefile.am: Fix broken path to clockdrv_shell.h. diff --git a/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg b/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg new file mode 100644 index 0000000000..68babd64a4 --- /dev/null +++ b/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg @@ -0,0 +1,37 @@ +# +# Configuration file for a PC using a Pentium Class CPU +# +# $Id$ +# + +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 +# (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. +CPU_CFLAGS = -mtune=pentium4 -march=pentium4 -msse3 + +include $(RTEMS_ROOT)/make/custom/pc386.cfg + -- cgit v1.2.3