source: rtems/c/src/lib/libbsp/i386/pc386/make/custom/pcp4.cfg @ 441b90e

4.115
Last change on this file since 441b90e was 58679ac, checked in by Jennifer Averett <Jennifer.Averett@…>, on 07/14/11 at 14:44:47

2011-07-14 Jennifer Averett

  • make/custom/pcp4.cfg: New file.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1#
2#  Configuration file for a PC using a Pentium Class CPU
3#
4#  $Id$
5#
6
7RTEMS_CPU_MODEL=pentium
8
9#  This contains the compiler options necessary to select the CPU model
10#  and enable architecture-specific features and extensions.
11
12#  Note that the vanilla gcc multilibs for RTEMS are a joke. The
13#  variants only differ by a -mtune=xxx option which merely 'optimizes'
14#  for 'xxx' but does not use the full instruction set 'xxx' may implement.
15#  (fully bwd compatible with i386).
16#
17#  I'd recommend to roll your own set of (useful) multilibs instead...
18#
19#  Useful variants would be
20#    <default> (i386) (generic 386 with hard-float)
21#    -msoft-float     (generic 386 with soft-float)
22#    -march=pentium4  (P4 with sse2)
23#
24#  Note also: we give the -mtune=pentium option here only so that at least the
25#             variant optimized for pentium (w/o using any pentium-specific
26#             features) is used (assuming you use the vanilla RTEMS multilibs).
27
28#  And: The only sse-related feature the RTEMS support really needs is
29#             fxsave/fxrstor. You can build with -msse, -msse2 or -msse3,
30#             depending on your CPU.
31#             There are run-time checks resulting in a 'panic' if code
32#             compiled for e.g. -msse3 is executed on a CPU that only
33#             supports sse2, though.
34CPU_CFLAGS = -mtune=pentium4 -march=pentium4 -msse3
35
36include $(RTEMS_ROOT)/make/custom/pc386.cfg
37
Note: See TracBrowser for help on using the repository browser.