which CPUs support MOVBE instruction?

后端 未结 3 1078
既然无缘
既然无缘 2021-01-17 12:05

Sometimes GCC generates this instruction when compiling with -march=atom. Does each and every Intel Atom CPU support MOVBE?

What other processors suppo

3条回答
  •  既然无缘
    2021-01-17 12:50

    It appears that all Atom processors support MOVBE; at any rate, the first and least capable (the Atom 230) does. (See e.g. http://www.linuxquestions.org/questions/linux-hardware-18/proc-cpuinfo-output-816192/ for evidence.) I don't believe any non-Atom Intel processors support MOVBE; at any rate, recent Core i7 processors appear not to (see e.g. http://www.techsupportforum.com/forums/f108/i7-running-on-3-of-8-threads-522063.html and search for "movbe" for evidence).

    You can detect MOVBE support at runtime using CPUID.

提交回复
热议问题