One embodiment of the present invention provides a system that prefetches from memory by using an assist processor that executes in advance of a primary processor. The system operates by executing executable code on the primary processor, and simultaneously executing a reduced version of the executable code on the assist processor. This reduced version runs more quickly than the executable code, and generates the same pattern of memory references as the executable code. This allows the assist processor to generate the same pattern of memory references that the primary processor generates in advance of when the primary processor generates the memory references. The system stores results of memory references generated by the assist processor in a store that is shared with the primary processor so that the primary processor can access the results of the memory references. In one embodiment of the present invention, this store is a cache memory. In one embodiment of the present invention, prior to executing the executable code, the system compiles source code into the executable code for the primary processor. The system also produces the reduced version of the executable code for the assist processor from the executable code by eliminating instructions from the executable code that have no effect on a pattern of memory references generated by the executable code.

Μια ενσωμάτωση της παρούσας εφεύρεσης παρέχει ένα σύστημα που prefetches από τη μνήμη με τη χρησιμοποίηση βοηθήστε τον επεξεργαστή που εκτελεί πριν από έναν αρχικό επεξεργαστή. Το σύστημα λειτουργεί με την εκτέλεση του εκτελέσιμου κώδικα στον αρχικό επεξεργαστή, και εκτελώντας ταυτόχρονα μια μειωμένη έκδοση του εκτελέσιμου κώδικα βοηθήστε τον επεξεργαστή. Αυτή η μειωμένη έκδοση τρέχει γρηγορότερα από τον εκτελέσιμο κώδικα, και παράγει το ίδιο σχέδιο των αναφορών μνήμης με τον εκτελέσιμο κώδικα. Αυτό επιτρέπει ότι βοηθήστε τον επεξεργαστή για να παραγάγετε το ίδιο σχέδιο των αναφορών μνήμης που ο αρχικός επεξεργαστής παράγει πριν από όταν παράγει ο αρχικός επεξεργαστής τις αναφορές μνήμης. Τα αποτελέσματα καταστημάτων συστημάτων των αναφορών μνήμης που παράγονται από βοηθούν τον επεξεργαστή σε ένα κατάστημα που μοιράζεται με τον αρχικό επεξεργαστή έτσι ώστε ο αρχικός επεξεργαστής μπορεί να έχει πρόσβαση στα αποτελέσματα των αναφορών μνήμης. Σε μια ενσωμάτωση της παρούσας εφεύρεσης, αυτό το κατάστημα είναι μια μνήμη κρύπτης. Σε μια ενσωμάτωση της παρούσας εφεύρεσης, πριν από την εκτέλεση του εκτελέσιμου κώδικα, το σύστημα συντάσσει τον κώδικα πηγής στον εκτελέσιμο κώδικα για τον αρχικό επεξεργαστή. Το σύστημα παράγει επίσης τη μειωμένη έκδοση του εκτελέσιμου κώδικα γιατί βοηθήστε τον επεξεργαστή από τον εκτελέσιμο κώδικα με την εξάλειψη των οδηγιών από τον εκτελέσιμο κώδικα που δεν έχουν καμία επίδραση σε ένα σχέδιο των αναφορών μνήμης που παράγονται από τον εκτελέσιμο κώδικα.

 
Web www.patentalert.com

< (none)

< Power saving of a portable computer using human sensing device

> Printing device with optimized print head positioning logic

> (none)

~ 00038