System and method of local data alignment for stack memory

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 9/45 (2006.01) G06F 9/44 (2006.01)

Patent

CA 2211515

A system and method for aligning data in stack memory in a data processing system where the stack memory provides temporary storage for storing parameters for a function call. The method first determines if any of the parameters in the function being call are of a selected type. If a parameter is of a selected type, code is generated for aligning the parameter on a stricter boundary than the default boundary for the stack memory. Code is then generated to align the remaining parameters in the function call on the default boundary in the stack memory. The aligned parameter in the stack provides a reference point which is used by the called function to align locally scoped variables in the stack. By aligning a parameter of a selected type on stricter boundary in the stack, for example, a double precision floating point aligned on an 8 byte boundary, the execution performance of the compiled program code is improved.

L'invention est constituée par un système et une méthode d'alignement de données dans une mémoire à pile de disques d'un système de traitement de données qui est utilisée pour stocker temporairement les paramètres se rapportant à un appel de fonction. La méthode de l'invention détermine d'abord si l'un quelconque des paramètres de la fonction appelée appartient à un type sélectionné. Quand un paramètre est d'un type sélectionné, un code est engendré pour aligner ce paramètre sur une frontière plus stricte que la frontière choisie par défaut dans la mémoire à pile de disques. Un code est alors produit pour aligner les autres paramètres de l'appel de fonction sur la frontière choisie par défaut dans la mémoire. Le paramètre qui est aligné dans la mémoire sert de point de référence utilisé par la fonction appelée pour aligner les variables désignées localement dans la mémoire. En alignant un paramètre d'un type sélectionné sur une frontière plus stricte dans la mémoire, par exemple un nombre en virgule flottante double précision aligné sur une frontière de 8 octets, on peut améliorer la performance d'exécution du code du programme compilé.

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 of local data alignment for stack memory 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 of local data alignment for stack memory, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and System and method of local data alignment for stack memory will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-1650182

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