From owner-cvs-all Thu Jan 9 14:52: 2 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8434B37B401; Thu, 9 Jan 2003 14:52:00 -0800 (PST) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 967AE43F13; Thu, 9 Jan 2003 14:51:59 -0800 (PST) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.6/8.12.6) with ESMTP id h09Mprro011487 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Thu, 9 Jan 2003 17:51:54 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id h09Mpmm63702; Thu, 9 Jan 2003 17:51:48 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15901.64772.844070.407901@grasshopper.cs.duke.edu> Date: Thu, 9 Jan 2003 17:51:48 -0500 (EST) To: Mikhail Teterin Cc: Alexander Leidinger , cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, marius@alchemy.franken.de Subject: Re: cvs commit: src/sys/i386/i386 mp_machdep.c In-Reply-To: <200301091704.56189.mi+mx@aldan.algebra.com> References: <15900.19798.145783.459116@grasshopper.cs.duke.edu> <20030109123807.64457d5d.Alexander@Leidinger.net> <15901.60186.784326.204122@grasshopper.cs.duke.edu> <200301091704.56189.mi+mx@aldan.algebra.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Mikhail Teterin writes: > You may wish to take a look at > > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=bin/43299 > > Especially, the follow up to it, where using SSE2 appears to slow things > down -- at least for double values. > > -mi Strange. The intel compiler is slower too. But at least it gets the right answer, which is more than gcc can do (unless O0 is used) icc -O3 -tpp7 -xW: (P4) 2^2.1 is 4.28709 11^-2.1 is 0.00650243 5.77 real 5.68 user 0.02 sys icc -O3 -tpp6 -xK: (PIII) 2^2.1 is 4.28709 11^-2.1 is 0.00650243 5.38 real 5.13 user 0.00 sys gcc -O3 -march=pentium4 2^2.1 is 0.5 11^-2.1 is 0.0909091 0.63 real 0.62 user 0.00 sys gcc -O3 -march=pentium3 2^2.1 is 4.28709 11^-2.1 is 0.00650243 6.68 real 6.50 user 0.01 sys I still build my system with CPUTYPE=p3, so I think my libs are OK. Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message