I stumbled accross this forum and was pleased by the very fair benchmark suite. I ran on my cheap desktop replacement laptop.. luckily I wasn't too penalized by disk tests for having a 5400RPM HDD. Not too shabby for a laptop.
CPU/Speed: Pentium 4b 2.4GHz w/ 512kb L2 - 4771 bogomips
Ram: 386MB... (0 Replies)
Anyone have tips on configuring the 2.6.10 kernel to take full advantage of dual 2.4 Ghz Xeons?
I'm not getting expected benchmark results.... and seemingly was better off with a single 2600+ AMD processor. (1 Reply)
Interesting issue. There was some discussion on the LKML last year regarding the potential problems in concurrent applications reusing file descriptors in various scenarios. The main issue is that the reuse of a file descriptor and reception of data in a threaded application can be confused pretty... (1 Reply)
I want to setup dual monitor for the Dell Optiplex Gx520 computer.
The motherboard has an Intel Corporation 82915G Integrated Graphics
Controller.
Then I add an ATI Rage 128 video card.
The dual monitor work on Windows 2000 with the Intel chip as the
primary screen and the ATI chip... (0 Replies)
I want to set-up Solaris on my Intel PC for training purposes. Ideally, I'd like to run Solaris within an emulator or in a dual-boot partition. Can anyone give me some suggestions to send me in the right direction? Thanks so much.
---------- Post updated at 09:11 PM ---------- Previous update... (1 Reply)
Discussion started by: ediverson
1 Replies
LEARN ABOUT OPENDARWIN
cpu_capabilities
cpu_capabilities(3alleg4) Allegro manual cpu_capabilities(3alleg4)NAME
cpu_capabilities - Contains the capability flags of the CPU. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
extern int cpu_capabilities;
DESCRIPTION
Contains CPU flags indicating what features are available on the current CPU. The flags can be any combination of these:
CPU_ID - Indicates that the "cpuid" instruction is
available. If this is set, then all Allegro CPU
variables are 100% reliable, otherwise there
may be some mistakes.
CPU_FPU - An FPU is available.
CPU_IA64 - Running on Intel 64 bit CPU
CPU_AMD64 - Running on AMD 64 bit CPU
CPU_MMX - Intel MMX instruction set is available.
CPU_MMXPLUS - Intel MMX+ instruction set is available.
CPU_SSE - Intel SSE instruction set is available.
CPU_SSE2 - Intel SSE2 instruction set is available.
CPU_SSE3 - Intel SSE3 instruction set is available.
CPU_3DNOW - AMD 3DNow! instruction set is available.
CPU_ENH3DNOW - AMD Enhanced 3DNow! instruction set is
available.
CPU_CMOV - Pentium Pro "cmov" instruction is available.
You can check for multiple features by OR-ing the flags together. For example, to check if the CPU has an FPU and MMX instructions avail-
able, you'd do:
if ((cpu_capabilities & (CPU_FPU | CPU_MMX)) ==
(CPU_FPU | CPU_MMX)) {
printf("CPU has both an FPU and MMX instructions!
");
}
You can read this variable after you have called check_cpu() (which is automatically called by allegro_init()).
SEE ALSO check_cpu(3alleg4), cpu_vendor(3alleg4), cpu_family(3alleg4), cpu_model(3alleg4), cpu_capabilities(3alleg4), allegro_init(3alleg4)Allegro version 4.4.2 cpu_capabilities(3alleg4)