Browse Source

Miguel Bolanos <mike@hack-solutions.com>:

This will enable processor optimizations for the alpha port.


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2014 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Miguel Bolaños 21 years ago
parent
commit
10b7509bd1
4 changed files with 70 additions and 0 deletions
  1. +1
    -0
      Documentation/Developers/CHANGELOG-RENE
  2. +28
    -0
      architecture/alpha/config.hlp
  3. +36
    -0
      architecture/alpha/config.in
  4. +5
    -0
      architecture/alpha/gcc-options

+ 1
- 0
Documentation/Developers/CHANGELOG-RENE

@ -10,6 +10,7 @@
- cleanup of tcp_wrappers.conf
- Alejandro Mery: updated lvs->ipvsadm, keepalived
- Miguel Bolanos: substituted "Ultra SPARC" with "UltraSPARC"
Alpha optimisations selection
*) 2003-12-17 (2.0.0-rc3 - 2.0.0-rc4)

+ 28
- 0
architecture/alpha/config.hlp

@ -0,0 +1,28 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/architecture/alpha/config.hlp
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
ROCKCFG_ALPHA_OPT
Please select the specific type of alpha-CPU you want to optimise
binaries for.
You can also choose to not optimise for any specific CPU. The resulting
binaries will run on any alpha-compatible CPU but with a significant loss
in performance.

+ 36
- 0
architecture/alpha/config.in

@ -0,0 +1,36 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/architecture/alpha/config.in
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
choice ROCKCFG_ALPHA_OPT generic \
generic "No special optimisation" \
ev4 "Optimised for EV4 CPU" \
ev45 "Optimised for EV4.5 CPU" \
ev5 "Optimised for EV5 CPU" \
ev56 "Optimised for EV5.6 CPU" \
pca56 "Optimised for PCA5.6 CPU" \
ev6 "Optimised for EV6 CPU" \
ev67 "Optimised for EV6.7 CPU"
if [ $ROCKCFG_ALPHA_OPT != generic ] ; then
ROCKCFG_ID="$ROCKCFG_ID-$ROCKCFG_ALPHA_OPT"
fi

+ 5
- 0
architecture/alpha/gcc-options

@ -0,0 +1,5 @@
if [ $ROCKCFG_ALPHA_OPT != generic ] ; then
var_append GCC3_WRAPPER_INSERT " " \
"-mtune=$ROCKCFG_ALPHA_OPT"
fi

Loading…
Cancel
Save