This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Allocation of hotness of data structure with respect to the top of stack.


All:

I am wondering allocation of hot data structure closer to the top of the stack increases the performance of the application.
The data structure are identified as hot and cold data structure and all the data structures are sorted in decreasing order of
The hotness and the hot data structure will be allocated closer to the top of the stack.

The load and store on accessing with respect to allocation of data structure on stack will be faster with allocation of hot
Data structure closer to the top of the stack.

Based on the above the code is generated with respect to load and store with the correct offset of the stack allocated on
the decreasing order of hotness.

Thoughts?

Thanks & Regards
Ajit


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]