Date: Sat, 16 Jun 2001 18:38:08 +0900 (JST) From: kaz@kobe1995.net (NAKAMURA Kazushi) To: current@freebsd.org Subject: support Pentium3 SSE Message-ID: <200106160938.SAA26868@ns.kobe1995.net>
next in thread | raw e-mail | index | archive | help
------- 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 -- <mailto:kaz@kobe1995.net> NAKAMURA Kazushi@KOBE <http://kobe1995.net/~kaz/index-e.html> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106160938.SAA26868>