From owner-freebsd-current Sat Jun 16 2:38:31 2001 Delivered-To: freebsd-current@freebsd.org Received: from ns.kobe1995.net (211.12.126.15.user.dt.il24.net [211.12.126.15]) by hub.freebsd.org (Postfix) with ESMTP id 07A2C37B405 for ; Sat, 16 Jun 2001 02:38:10 -0700 (PDT) (envelope-from kaz@kobe1995.net) Received: (from kaz@localhost) by ns.kobe1995.net (8.8.8/3.7W-primary) id SAA26868; Sat, 16 Jun 2001 18:38:08 +0900 (JST) Date: Sat, 16 Jun 2001 18:38:08 +0900 (JST) Message-Id: <200106160938.SAA26868@ns.kobe1995.net> To: current@freebsd.org Subject: support Pentium3 SSE From: kaz@kobe1995.net (NAKAMURA Kazushi) X-Mailer: mnews [version 1.22] 1999-12/19(Sun) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ------- Forwarded Message Date: Thu, 14 Jun 2001 04:20:46 +0900 (JST) Message-Id: <200106131920.EAA15922@ns.kobe1995.net> To: freebsd-current@FreeBSD.org Subject: support Pentium3 SSE From: kaz@kobe1995.net (NAKAMURA Kazushi) Hello! Don't lose to Linux2.4.x! I use FreeBSD as graphic workstation. I made a patch for support Pentium3's SSE extension. The PR# is kern/28070 . http://www.freebsd.org/cgi/query-pr.cgi?pr=28070 And there are WWW pages about SSE on FreeBSD environment. #(poor) english http://kobe1995.net/~kaz/FreeBSD/SSE.en.html #(native) japanese http://kobe1995.net/~kaz/FreeBSD/SSE.html #test code http://kobe1995.net/~kaz/FreeBSD/loop.C.gz MMX instructions can be used without any difficult. But SSE instructions are needs kernel support. I tested ONLY single cuppermine celeron. Please test Pentium3/4 or SMP environment. I afraid that it does NOT work in SMP environment, because the access of (static) svxmm may conflicts. Allocate in stack, insted static, is difficult to align 16 Byte boundary. #Most SSE instructions are needs 16Byte alignment. Any good idea? SSE instructions are effective to audio or visual applications. For example, MP3 encoding by celeron/667@750MHz: ###without SSE(may be using MMX) % gogo -lang eng -nopsy -test -off sse GOGO-no-coda ver. 2.39 (Jun 8 2001) Copyright (C) 1999, 2000 PEN@MarineCat and shigeo Special thanks to Keiichi SAKAI, URURI, Noisyu and Kei test time 600sec *** at bench in the early afternoon [benchmark mode] *** MPEG 1, layer 3 j-stereo inp sampling-freq=44.1kHz out sampling-freq=44.1kHz bitrate=128kbps input file `stdin' output file `default.mp3' { 22968/ 22968} 100.0% ( 16.93x) re:[00:00:00.00] to:[00:00:35.43] End of encoding time= 35.433sec ( 16.93x) ^^^^^^ ###with SSE % gogo -lang eng -nopsy -test GOGO-no-coda ver. 2.39 (Jun 8 2001) Copyright (C) 1999, 2000 PEN@MarineCat and shigeo Special thanks to Keiichi SAKAI, URURI, Noisyu and Kei test time 600sec *** at bench in the early afternoon [benchmark mode] *** MPEG 1, layer 3 j-stereo inp sampling-freq=44.1kHz out sampling-freq=44.1kHz bitrate=128kbps input file `stdin' output file `default.mp3' { 22968/ 22968} 100.0% ( 35.58x) re:[00:00:00.00] to:[00:00:16.86] End of encoding time= 16.852sec ( 35.60x) ^^^^^^ Thank you! ------- End of Forwarded Message -- NAKAMURA Kazushi@KOBE To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message