Frode Vatvedt Fjeld: |What is the preferred way for my application to determine if the CPU |is MMX-capable? Daniel J. O'Connor: |Use some MMX instructions and see if you catch a SIGILL or not? :) Geff Hanoian: | __asm __volatile( | ".byte 0x0f, 0xa2;" Seems like this would be perfect for the sysctl MIB. We have a few CPU-related ones already: > sysctl -a | grep -i cpu kern.ccpu: 1948 hw.ncpu: 1 What about: hw.cpu.has_mmx: 1 hw.cpu.has_3dnow: 1 hw.cpu.has_sse: 0 In leiu of that, I believe I recall reading that the SIGILL approach works on FreeBSD. Seems like Roger Hardiman uses/used MMX on FreeBSD for some of his signal processing work. You might chat with him. Randall To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-stable" in the body of the message