Method and apparatus for saving and restoring the context of reg

Electrical computers and digital processing systems: memory – Storage accessing and control – Memory configuring

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

36580023, 365566, 365500, G06F12/00

Patent

active

059060026

ABSTRACT:
A method of saving the context of a plurality of registers in a computer processor, requires determining whether the processor registers have a first size or a second size, and saving the contents of the registers in a buffer using a first set of instructions if the processor registers have the first size (e.g., 64 bits), and using a second set of instructions if the processor registers have the second size (e.g., 32 bits). If the processor registers having the first size, the method may further include the steps of determining whether the processor is operating in a first mode (e.g., 64-bit mode) or a second mode (e.g., 32-bit mode), and then saving the contents of the registers in the buffer using the first set of instructions if the processor is operating in the first mode, but using the second set of instructions if the processor is operating in the second mode. The method can additionally determine whether the processor registers have a third size, and use a third set of instructions if the processor registers have the third size. Similarly, if the processor can operate in a third mode, then the contents of the registers may be saved using a third set of instructions if the processor is operating in the third mode. The context-saving code uses a portion of the registers for its processing, by initially saving a first portion of the registers in the buffer, and thereafter using the first portion of the registers to temporarily store the contents of other registers. The contents of the other registers are later restored from the first portion of the registers, and then saved in the buffer.

REFERENCES:
patent: 5201039 (1993-04-01), Sakamura
patent: 5430364 (1995-07-01), Powel et al.
patent: 5430864 (1995-07-01), Powell et al.
patent: 5481734 (1996-01-01), Yoshida
patent: 5542060 (1996-07-01), Yoshida
patent: 5550993 (1996-08-01), Ehlig
patent: 5590352 (1996-12-01), Ehlig et al.
patent: 5685009 (1997-11-01), Blumsrey et al.
IBM Technical Disclosure Bulletin, "Software Test Coverage Measurement," vol. 39, No. 08, Aug. 1996.
IBM Technical Disclosure Bulletin, "Technique for Reducing the Number of Registers Saved at a Context SWAP," vol. 33, No. 3A, Aug. 1990.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for saving and restoring the context of reg does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for saving and restoring the context of reg, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for saving and restoring the context of reg will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-1769332

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.