From owner-freebsd-questions@FreeBSD.ORG Fri Sep 4 05:11:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89B67106566C for ; Fri, 4 Sep 2009 05:11:51 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2B32A8FC14 for ; Fri, 4 Sep 2009 05:11:51 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id n845Asme024404; Fri, 4 Sep 2009 00:10:54 -0500 (CDT) Date: Fri, 4 Sep 2009 00:10:54 -0500 (CDT) From: Scott Bennett Message-Id: <200909040510.n845AsPU024402@mp.cs.niu.edu> To: dmw@coder.cl Cc: freebsd-questions@freebsd.org Subject: Re: cc -march questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Sep 2009 05:11:51 -0000 On Thu, 3 Sep 2009 10:28:09 -0400 Daniel Molina Wegener wrote: >2009/9/3 Scott Bennett > >> What exactly does "cc -march=prescott" enable cc to do? Does it >> include >> instruction scheduling for the pipeline structure of the Prescott CPUs? >> Does >> it include other options, e.g., "-mmmx -msse -msse2 -msse3"? >> Thanks in advance for any information on the above! >> > >According to the GCC manual page, it enables MMX, SSE, SSE2 and SSE3 >instruction set support. > >Try: >$ man 1 gcc >/prescott > Thanks much for your reply. This is very bizarre. I think I've looked at that page at least 50 times in the past few years and somehow never saw those lines. Sigh. :-} I've had CPUTYPE=prescott in my /etc/make.conf for a long time now, and I recently installed math/atlas-devel. I wonder if specifying CPUTYPE=prescott may have caused it to choose the wrong components to include in the final version of libalapack. If so, then I should rebuild it without CPUTYPE=prescott. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * **********************************************************************