Dismiss
InnovationQ will be updated on Sunday, Oct. 22, from 10am ET - noon. You may experience brief service interruptions during that time.
Browse Prior Art Database

A method to expand the memory area for code generation in Network Processors

IP.com Disclosure Number: IPCOM000012696D
Original Publication Date: 2003-May-21
Included in the Prior Art Database: 2003-May-21
Document File: 1 page(s) / 4K

Publishing Venue

IBM

Abstract

This is a method to expand the memory area which are used by the optimizing compiler for allocating memory-located values.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 100% of the total text.

Page 1 of 1

A method to expand the memory area for code generation in Network Processors

Optimizing compilers allocates pieces of the memory area to memory-located values such as spilled-variable, global variables, and memory-passed arguments. Ordinary methods to allocate such memory area have been using a fixed amount of memory pieces. However, the amount of available memory pieces may vary according to the execution status. For example, In IBM network processor, a 16-word memory area is statically secured as a stack for saving the return addresses. Such area can not always be used but available while the stack is not fully used i.e. the nest level of function call is low. To utilize the stack while not being used, we first do the whole program analysis to grab how functions are called and available pieces of the stack area. Second we conduct a liveness analysis for memory-located values that are live across function calls. The memory allocator finally assigns such available pieces of the stack area as well as the other pieces of the memory area to those values.

Disclosed by International Business Machines Corporation

1