ALU/CPU Error Detection

ALU/CPU Error Detection

This question is about detecting and possibly correcting arithmetic errors in the CPU.

Consider any recent core iX Intel CPU. Suppose I wanted to multiply 8 times 7, in psuedo-code thusly,
mov 8 to AX
mul AX by 7

Then further suppose the ALU came up with 55 instead of 56. Would the CPU issue an error of some kind. If so, how?  Fundamentally my question relates to errors in arithmetic, which because of cosmic rays and voltage blips are almost certain to occur.  Is there any logic in the ALU/CPU to detect and possibly correct such errors?

The answer is important. At least tell me how to find the answer.

12 帖子 / 0 全新
最新文章
有关编译器优化的更完整信息,请参阅优化通知