[SM-Grimoire-Bugs] [Bug 15621] smgl-archspecs should provide native and generic for IA-32/x86-64 users

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Tue Apr 6 03:31:56 EDT 2010


http://bugs.sourcemage.org/show_bug.cgi?id=15621


Eric Sandall <sandalle at sourcemage.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |sandalle at sourcemage.org,
                   |                            |sm-grimoire-bugs at lists.ibib
                   |                            |lio.org
         AssignedTo|sm-grimoire-bugs at lists.ibib |sandalle at sourcemage.org
                   |lio.org                     |




--- Comment #3 from Eric Sandall <sandalle at sourcemage.org>  2010-04-06 02:31:54 ---
Testing '-march=native -mtune=native' for ia32 and x86_64, each with it's own
native-* file. We will need a native for each architecture type to define HOST=
for $ARCHITECTURE and $SMGL_COMPAT_ARCHS[#] support in spells.

The current format I have is:
==> 32/ia32/native-x86_64-32 <==
CPUNAME="Auto-detected x86/x86_64 architecture 32-bit mode"

if use_gcc 3.3. || use_gcc 3.4. || use_gcc 4.0. || use_gcc 4.1. ; then
  CFLAGS="-march=i686 -m32"
elif use_gcc2 ; then
  CFLAGS="-march=i686"
else
  CFLAGS="-march=native -mtune=native -m32"
fi

HOST="i686-pc-linux-gnu"
FAST="-O3"
SMALL="-Os"

==> 64/x86_64/native-x86_64-64 <==
CPUNAME="Auto-detected x86_64 architecture 64-bit mode"

if use_gcc 3.3. || use_gcc 3.4. || use_gcc 4.0. || use_gcc 4.1. ; then
  CFLAGS="-march=x86-64 -fPIC -DPIC -m64"
elif use_gcc2 ; then
  CFLAGS="-march=i686"
else
  CFLAGS="-march=native -mtune=native -fPIC -DPIC -m64"
fi

HOST="x86_64-pc-linux-gnu"
FAST="-O3"
SMALL="-Os"

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
You are the assignee for the bug.



More information about the SM-Grimoire-Bugs mailing list