相关疑难解决方法(0)

程序集cltq和movslq的区别

计算机系统的第3章程序员的观点(第2版)提到了
cltq相当于movslq %eax, %rax.

为什么他们创建一个新的指令(cltq)而不是仅使用movslq %eax,%rax?这不是多余的吗?

x86 assembly x86-64 instruction-set att

7
推荐指数
1
解决办法
2万
查看次数

标签 统计

assembly ×1

att ×1

instruction-set ×1

x86 ×1

x86-64 ×1