Pipeline Exception Handling

今天看了一种最简单的, exception handling in pipeline
如果, exception happens. IF will fetch a trap instruction to handle the exception
Also, the instruction before the exceptional instruction will be stopped. The instruction precede to it will continue.
It will save PC and restore it after exception has been handle.

我猜应该是trap instruction 结束以后。

这个只是对于integer value, but for floating point operation. One instruction may take several cycles to complete. 不知道该怎么办,我觉得应该用stall 的方法 。

评论

此博客中的热门博文

Embedded System interview Question

MicroKernel & Exokernel 操作系统未来可能的发展

中国城市房地产分析