Intel (R) C++ Compiler 10.1.014 on Mac OS X 10.5.2

Intel (R) C++ Compiler 10.1.014 on Mac OS X 10.5.2

Hi All,

Developing a small app for CPU identification for MacBook using Intel C++ Compiler 10.1.014 on Mac OS X 10.5.2.

I am checking for processor string supported:

__asm{

mov EAX, 0x80000000

CPUID

mov BrdStrSup, EAX

}

the above codeworks in Win32 fine.

Question: what is the equivalent of the above code for Mac (Apple)?

compile command is: icpc brdstr.cpp -use-msasm -o cpuname

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.