From owner-freebsd-stable Tue Jun 29 18: 2:18 1999 Delivered-To: freebsd-stable@freebsd.org Received: from golgotha.dons.net.au (spare6.gsoft.com.au [203.38.152.108]) by hub.freebsd.org (Postfix) with ESMTP id 580FB14F73 for ; Tue, 29 Jun 1999 18:02:12 -0700 (PDT) (envelope-from doconnor@golgotha.dons.net.au) Received: (from doconnor@localhost) by golgotha.dons.net.au (8.9.3/8.9.3) id KAA00453; Wed, 30 Jun 1999 10:31:48 +0930 (CST) (envelope-from doconnor) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="_=XFMail.1.3.p0.FreeBSD:990630103147:329=_"; micalg=pgp-md5; protocol="application/pgp-signature" In-Reply-To: <2hwvwnqh7g.fsf@dslab7.cs.uit.no> Date: Wed, 30 Jun 1999 10:31:47 +0930 (CST) From: "Daniel J. O'Connor" To: Frode Vatvedt Fjeld Subject: RE: MMX Cc: freebsd-stable@freebsd.org Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This message is in MIME format --_=XFMail.1.3.p0.FreeBSD:990630103147:329=_ Content-Type: text/plain; charset=us-ascii On 29-Jun-99 Frode Vatvedt Fjeld wrote: > What is the preferred way for my application to determine if the CPU > is MMX-capable? Use some MMX instructions and see if you catch a SIGILL or not? :) You could look through /var/run/dmesg.boot and have a look for -> CPU: Pentium/P55C (quarter-micron) (233.86-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x581 Stepping=1 Features=0x8001bf Which is probably a much more sensible way. --- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum --_=XFMail.1.3.p0.FreeBSD:990630103147:329=_ Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBN3lse2j0TqzKxF7VAQEPfQP/Q/8K2UvHsRYLMXDlul3Q3wld1+tz8k05 jZEcsixTO8JWVXDVgivZLnwOVyD+tX85fc21OuhQ6XbNT1cA/TUdXiSlOrpOYen6 4PqMMYr7Ypn4p+sVS5KBxdTrus8RIHHkHQ/4vuKaLtj2WhjHsfcO+UPpkYDF9cDY inUgC9Pmf90= =tnn6 -----END PGP MESSAGE----- --_=XFMail.1.3.p0.FreeBSD:990630103147:329=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message