首页>
外国专利>
Mechanism for on-the-fly handling of unaligned memory accesses
Mechanism for on-the-fly handling of unaligned memory accesses
展开▼
机译:动态处理未对齐的内存访问的机制
展开▼
页面导航
摘要
著录项
相似文献
摘要
Unaligned accesses to memory are circumvented by an address exception handler mechanism, which decodes an exception-triggering instruction, and reads from or writes to, in a byte-by-byte manner, addressed portions of memory which are unaligned with an addressing scheme through which accesses to memory may be performed, and thereby give rise to unaligned memory access exceptions. The handler simulates the execution of the instruction with reference to an exception stack frame, to which the contents of all registers at the time of the unaligned address exception are saved. This allows the handler to controllably define values that are restored into registers during the processor's execution of a general exception vector. After handling the exception, program execution transitions to the next instruction that directly follows the exception-causing instruction.
展开▼