Date: Wed, 30 Jun 1999 10:31:47 +0930 (CST) From: "Daniel J. O'Connor" <darius@dons.net.au> To: Frode Vatvedt Fjeld <frodef@acm.org> Cc: freebsd-stable@freebsd.org Subject: RE: MMX Message-ID: <XFMail.990630103147.darius@dons.net.au> In-Reply-To: <2hwvwnqh7g.fsf@dslab7.cs.uit.no>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX> 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 [-- Attachment #2 --] -----BEGIN PGP MESSAGE----- Version: 2.6.3ia iQCVAwUBN3lse2j0TqzKxF7VAQEPfQP/Q/8K2UvHsRYLMXDlul3Q3wld1+tz8k05 jZEcsixTO8JWVXDVgivZLnwOVyD+tX85fc21OuhQ6XbNT1cA/TUdXiSlOrpOYen6 4PqMMYr7Ypn4p+sVS5KBxdTrus8RIHHkHQ/4vuKaLtj2WhjHsfcO+UPpkYDF9cDY inUgC9Pmf90= =tnn6 -----END PGP MESSAGE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990630103147.darius>
