From owner-freebsd-sparc64@FreeBSD.ORG Wed Apr 27 09:27:14 2011 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FF7D106566B for ; Wed, 27 Apr 2011 09:27:14 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id BCF5E8FC16 for ; Wed, 27 Apr 2011 09:27:13 +0000 (UTC) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.4/8.14.4/ALCHEMY.FRANKEN.DE) with ESMTP id p3R9RBq0038104; Wed, 27 Apr 2011 11:27:12 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.4/8.14.4/Submit) id p3R9RBPo038103; Wed, 27 Apr 2011 11:27:11 +0200 (CEST) (envelope-from marius) Date: Wed, 27 Apr 2011 11:27:11 +0200 From: Marius Strobl To: Super Bisquit Message-ID: <20110427092711.GA37921@alchemy.franken.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: -mvis, Will it improve performance. X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2011 09:27:14 -0000 On Tue, Apr 26, 2011 at 12:12:20AM -0400, Super Bisquit wrote: > Wonder if there is an advantage to the flag or not. VIS is the SIMD instruction set of US1 and later sun4u CPUs (and with a reduced set it's also available with sun4u), as such it should improve performance if applicable to the data. GCC automatically enables the use of VIS when optimizing for US1 (which as I already wrote before is the default for the FreeBSD system compiler) or later CPUs. So again, you don't need to worry about this when using the system compiler. Marius