From owner-freebsd-current@FreeBSD.ORG Tue May 9 08:46:33 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D51E916A400 for ; Tue, 9 May 2006 08:46:33 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3EBEF43D46 for ; Tue, 9 May 2006 08:46:32 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5EBF8.dip.t-dialin.net [84.165.235.248]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.4/8.13.1) with ESMTP id k498bNvx066558; Tue, 9 May 2006 10:37:24 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from Magellan.Leidinger.net (Magellan.Leidinger.net [192.168.1.1]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k498kBhA040897; Tue, 9 May 2006 10:46:12 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Date: Tue, 9 May 2006 10:47:08 +0200 From: Alexander Leidinger To: Ivan Voras Message-ID: <20060509104708.65c1b651@Magellan.Leidinger.net> In-Reply-To: <445F7814.90905@fer.hr> References: <61809.192.168.1.21.1147030254.squirrel@192.168.1.21> <86d5epp5tv.fsf@xps.des.no> <20060508132721.36915d94@Magellan.Leidinger.net> <445F7814.90905@fer.hr> X-Mailer: Sylpheed-Claws 2.2.0 (GTK+ 2.8.17; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new Cc: current@freebsd.org Subject: Re: I_686 MMX / 3DNOW / SSE / SSE2 ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 May 2006 08:46:33 -0000 Quoting Ivan Voras (Mon, 08 May 2006 18:55:48 +0200): > Alexander Leidinger wrote: > > > The patches which port the revamped FPU handling from DFly don't have > > this expensive behavior for every switch. AFAIR only when the kernel > > used the FPU some context is saved. It also allows to use SIMD > > instructions in the kernel (this may be beneficial in some places). > > For what it's worth - it would be interesting to see if XOR calculations > in GRAID3 or VINUM can be speeded up by using SSE (I think SSE3 is > needed for 128 bit integer ops?) AFAIR icc did some vector optimizations in the vinum code at the time when I worked on getting the kernel "icc-clean", but since we can't use SIMD in the kernel, I don't know if it is beneficial or not. Here's the mail about the ported FPU handling, in case someone wants to play with it: http://lists.freebsd.org/pipermail/freebsd-arch/2006-March/004932.html Bye, Alexander. -- Press every key to continue. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 WL http://www.amazon.de/exec/obidos/registry/1FZ4DTHQE9PQ8/ref=wl_em_to/