有时 GCC 在使用 -march=atom
编译时会生成此指令.每个 Intel Atom CPU 都支持 MOVBE 吗?
还有哪些处理器支持这条指令?我似乎无法在英特尔网站上找到此信息。请帮忙。
最佳答案
该指令最初是英特尔® 凌动™ 处理器独有的。
从英特尔方面:
The Intel® Compilers 11.0 allow you to target the Intel® Atom™ processor using the /QxSSE3_ATOM or -xSSE3_ATOM compiler options. These options enable the generation of the movbe instruction which is unique to the Intel® Atom™ processor.
在其他微架构中( http://instlatx64.atw.hu/ 与来自 https://agner.org/optimize/ 的 uop 信息):
解码为 2 或 3 uop,与
bswap
大致相同+ 加载或存储。 有效地解码为单个 uop。
非主流 CPU:
关于assembly - 哪些 CPU 支持 MOVBE 指令?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5246146/