摘要:
由int cread(int *xp){return xp ? *xp:0;}翻译成汇编指令 movl $0,%eax testl %edx,%edx cmovne (%edx),%eax这种实现是非法的。主要是vmovne指令的问题,参阅相关资料,我们可以得到:For the memory-based forms of CMOVcc, memory-related exceptions may be reported even if the condition is false.In 64-bit mode, CMOVcc with a 32-bit operand size will c. 阅读全文
posted @ 2012-06-23 15:53
X.W.LIU
阅读(1044)
评论(0)
推荐(0)
浙公网安备 33010602011771号