From owner-freebsd-stable@FreeBSD.ORG Mon Mar 27 19:05:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3F8B16A424 for ; Mon, 27 Mar 2006 19:05:26 +0000 (UTC) (envelope-from nikolas.britton@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 996ED43D66 for ; Mon, 27 Mar 2006 19:05:15 +0000 (GMT) (envelope-from nikolas.britton@gmail.com) Received: by xproxy.gmail.com with SMTP id s9so978533wxc for ; Mon, 27 Mar 2006 11:05:15 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=fa1OwKR2KJtqVsrtoobCa1S1sICnFlZS2KEA2vdOWObzFSuQ1FMw8OGxwkZ0vyoud/hasaEavyT1PADuFi66GO7LPfVdeXwivGKbf4T6FEG+ajrCjz7A+f+JE26Hu1NGBlNGdExxWblsbToDv6DFnmi0DEjS3crLpFTw7Ma1ny8= Received: by 10.70.73.18 with SMTP id v18mr5163020wxa; Mon, 27 Mar 2006 11:05:13 -0800 (PST) Received: by 10.70.65.15 with HTTP; Mon, 27 Mar 2006 11:05:13 -0800 (PST) Message-ID: Date: Mon, 27 Mar 2006 13:05:13 -0600 From: "Nikolas Britton" To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: -march=pentium2 + -mtune=pentium4 faster then -march=pentium4? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Mar 2006 19:05:27 -0000 Why does GCC produce faster code using "-march=3Dpentium2 -mtune=3Dpentium4" on a Pentium 4 chip versus plain -march=3Dpentium4? Try it... CPUTYPE=3Dpentium2 CFLAGS+=3D -mtune=3Dpentium4 COPTFLAGS+=3D -mtune=3Dpentium4 -- BSD Podcasts @ http://bsdtalk.blogspot.com/