Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2001 11:48:05 -0800
From:      "David O'Brien" <TrimYourCc@NUXI.com>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/share/mk sys.mk
Message-ID:  <20010221114805.A96924@dragon.nuxi.com>
In-Reply-To: <200102211827.f1LIRuv32516@misha.privatelabs.com>; from mi@aldan.algebra.com on Wed, Feb 21, 2001 at 01:27:54PM -0500
References:  <Pine.BSF.4.21.0102211415050.25100-100000@besplex.bde.org> <200102211827.f1LIRuv32516@misha.privatelabs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 21, 2001 at 01:27:54PM -0500, mi@aldan.algebra.com wrote:
> BTW, may be -mcpu=${MACHINE_CPU} can be added to the default CFLAGS now?

I am nervous about this on the Alpha unless very well tested.  We all
know that an ev4 system as the ev4 cannot handled ev56-only instructions.
[note the release building box and package cluster are ev56 machines]
According to the GCC manual for 3.0 (in development), -mcpu on the Alpha
includes the functionality of -march:

-mcpu=cpu_type
    Set the instruction set, register set, and instruction scheduling
    parameters for machine type cpu_type.  You can specify either the
    `EV' style name or the corresponding chip number. GCC supports
    scheduling parameters for the EV4 and EV5 family of processors and
    will choose the default values for the instruction set from the
    processor you specify. If you do not specify a processor type, GCC
    will default to the processor on which the compiler was built.
    Supported values for cpu_type are 
        `ev4' 
        `21064' Schedules as an EV4 and has no instruction set extensions. 
        `ev5' 
        `21164' Schedules as an EV5 and has no instruction set extensions. 
        `ev56' 
        `21164a' Schedules as an EV5 and supports the BWX extension. 
        `pca56' 
        `21164pc' 
        `21164PC' Schedules as an EV5 and supports the BWX and MAX extensions. 
        `ev6' 
        `21264' Schedules as an EV5 (until Digital releases the
                scheduling parameters for the EV6) and supports the BWX,
                CIX, and MAX extensions. 


The part about the "if you do not specify a processor type", doesn't seem
correct as our Alpha release are built on an ev5 or ev56 system, and
they've always been installable on ev4 systems.

-- 
-- David  (obrien@FreeBSD.org)
          GNU is Not Unix / Linux Is Not UniX

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010221114805.A96924>