发明授权
US6112292A Code sequence for asynchronous backing store switch utilizing both the
cover and LOADRS instructions
失效
使用封面和LOADRS指令的异步后备存储开关的代码序列
- 专利标题: Code sequence for asynchronous backing store switch utilizing both the cover and LOADRS instructions
- 专利标题(中): 使用封面和LOADRS指令的异步后备存储开关的代码序列
-
申请号: US64025申请日: 1998-04-21
-
公开(公告)号: US6112292A公开(公告)日: 2000-08-29
- 发明人: Achmed Rumi Zahir , Jonathan K. Ross
- 申请人: Achmed Rumi Zahir , Jonathan K. Ross
- 申请人地址: CA Santa Clara
- 专利权人: Idea Corporation
- 当前专利权人: Idea Corporation
- 当前专利权人地址: CA Santa Clara
- 主分类号: G06F9/30
- IPC分类号: G06F9/30 ; G06F9/312
摘要:
A computer implemented method for switching from an interrupted context to an interrupting context in a processor is provided. The processor includes a register stack (RS) that has first and second portions. The processor includes a register stack engine (RSE) that exchanges information, in one of instruction execution dependent and independent modes between the second portion and a storage area. The method includes the following steps: a state of the RSE of the interrupted context is preserved; a COVER instruction is issued; a first (BSPSTORE) pointer is preserved. The first pointer points to a location in the storage area, of the interrupted context, where a next register of the second portion is to be written; first pointer is written with a value corresponding to the interrupting context; and a second pointer (BSP) is preserved. The new first and second pointers in the interrupting context define the storage area of RS values associated with the interrupted context. The new first pointer is subtracted from the second new pointer. The difference (number of dirty registers) is deposited into the RSC.loadrs field. A LOADRS instruction is issued to load the RS with all interrupted context values. The original first BSPSTORE is restored from the preserved BSPSTORE.
公开/授权文献
- USD391856S Bottle 公开/授权日:1998-03-10
信息查询