System and method for preserving source instruction...

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 9/45 (2006.01) G06F 9/38 (2006.01) G06F 9/44 (2006.01) G06F 9/455 (2006.01) G06F 15/16 (2006.01)

Patent

CA 2082408

A system or method is provided for translating a first program code to a second program code and for executing the second program code wile preserving instruction state-atomicity of the first code. The first program code is executable on a computer having a first architecture adapted to a first instruction set and the second program code is executable on a computer having a memory and register state and a second architecture adapted to a second instruction set that is reduced relative to the first instruction set. A first computer translates the first code instructions to corresponding second code instructions in accordance with a pattern code that defines first code instructions in terms of second code instructions. The second code instructions for each first code instruction are organized in a granular instruction sequence. A second computer system is adapted with the second architecture to execute the second program code. During the second code execution, means are provided for determining the occurrence of each asynchronous event during second code execution, and the occurrence of each conflicting write to the memory by another processor, if one is coupled to the memory. In the above mentioned situations, if necessary, first code instruction atomicity and granularity are preserved by: completely or partially aborting the second code instruction sequence, for a retry; or, delaying processing of an asynchronous event interrupt until after the execution of the second code instruction sequence is complete.

L'invention est un système ou une méthode servant à traduire un premier code programme en un second code programme et à exécuter ce second code programme tout en conservant l'atomicité des états des instructions du premier code. Le premier code programme est exécutable sur un ordinateur ayant une première architecture adaptée à un premier ensemble d'instructions et le second code programme est exécutable sur un ordinateur ayant un état de mémorisation et d'enregistrement et une seconde architecture adaptée à un second ensemble d'instructions de taille réduite comparativement au premier ensemble d'instructions. Un premier ordinateur traduit les instructions du premier code en instructions du second code correspondantes selon un code de configuration qui définit les instructions du premier code en fonction de celles du second. Les instructions du second code correspondant à chaque instruction du premier code sont organisées sous la forme d'une suite d'instructions granulaires. Un second ordinateur est adapté à la seconde architecture pour exécuter le second code programme. Durant l'exécution du second code programme, un dispositif dénombre les occurrences de chaque événement asynchrone au cours de cette exécution et les occurrences des conflits d'écriture dans la mémoire occasionnés par un autre processeur, si un tel processeur est connecté à la mémoire. Dans les situations décrites ci-dessus, l'atomicité et la granularité des instructions du premier code sont au besoin conservées par une interruption complète ou partielle de l'exécution de la suite d'instructions du second code en vue d'une tentative de relance, ou par le retardement du traitement d'une interruption d'événement asynchrone jusqu'à ce que l'exécution de la suite d'instructions du second code soit terminée.

LandOfFree

Say what you really think

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

Rating

System and method for preserving source instruction... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with System and method for preserving source instruction..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method for preserving source instruction... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-1644296

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