Data processing: structural design – modeling – simulation – and em – Emulation – Of instruction
Reexamination Certificate
1998-09-08
2002-03-19
Teska, Kevin J. (Department: 2123)
Data processing: structural design, modeling, simulation, and em
Emulation
Of instruction
C703S020000, C703S027000, C710S200000, C714S035000
Reexamination Certificate
active
06360194
ABSTRACT:
FIELD OF THE INVENTION
The present invention generally relates to computer system emulation, and more specifically to emulation of a target system utilizing a multiprocessor host system with a dissimilar word length.
BACKGROUND OF THE INVENTION
The cost of designing a computer processor continues to increase. Some computer architectures thus ultimately become uneconomical to implement directly, despite these architectures having significant installed bases.
One solution to this problem is to simulate one computer architecture on another computer architecture. Herein, the simulating computer architecture will be termed the “host” computer system, while the simulated computer architecture will be termed the “target” computer system. Emulators have been available almost since the advent of the first compilers.
Emulators typically utilize the same word length and byte length on the host computer system and the target computer system. One reason for this is that it is significantly easier to implement a similar system emulator. Another reason is that most computer architectures presently are 32-bit architectures. However, there is a move toward 64-bit architectures. Two 32-bit words fit exactly within a single 64-bit word. This is not the situation where the target system operates on for example 36 bits, while the host system operates on 64 bits. Any problems encountered when implementing an emulator on a host system are significantly increased when the word size of the emulated target system does not evenly divide the word size of the host system.
When the two architectures have different word sizes the data type alignment of the target data in the emulated host memory will not align with the native data types in the host emulation machine. This is particularly a problem in multiprocessor emulations that require atomicity for updates of adjacent target data types within a cache line of the emulating host system memory. The atomicity of the emulating host system will not match the required atomicity of the emulated target system. This is because the atomicity paradigms of the host system will not properly merge the updates within a cache line.
This would normally be addressed by use of a separate software gating mechanism. A distinct gate would be employed by each instance of the processor emulation in order to perform any data update to the emulated memory where atomicity needed to be enforced. Such a software gating mechanism typically employs hardware instructions to lock and unlock an agreed-to gate operand in order to guarantee single-threaded operation. This software gating mechanism has the potential of adding significant processor, memory, and bus overhead to the operation of the emulator.
It would thus be advantageous to be able to emulate efficiently a target system that has a word size and/or byte size that is not the same as that of the emulating host system. It would be even more advantageous to be able to emulate efficiently such a system when the word size of the host system is not an even multiple of the word size of the emulated target system. In performing this emulation, an efficient mechanism for updating cached memory contents without violating atomicity constraints of an emulated target system would also be advantageous.
REFERENCES:
patent: 4370709 (1983-01-01), Fosdick
patent: 5345580 (1994-09-01), Tamaru et al.
patent: 5678032 (1997-10-01), Woods et al.
patent: 5832292 (1998-11-01), Nguyen et al.
patent: 5889983 (1999-03-01), Mittal et al.
patent: 5896522 (1999-04-01), Ward et al.
patent: 5970241 (1999-10-01), Deao et al.
patent: 5991531 (1999-11-01), Song et al.
patent: 5991870 (1999-11-01), Koumura et al.
Bull HN Information Systems Inc.
Hayden B. E.
Phan T.
Phillips J. H.
Solakian J. S.
LandOfFree
Different word size multiprocessor emulation does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Different word size multiprocessor emulation, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Different word size multiprocessor emulation will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-2839717