Browse Prior Art Database

Method to utilize microengine context registers as a stack

IP.com Disclosure Number: IPCOM000008566D
Publication Date: 2002-Jun-24
Document File: 1 page(s) / 25K

Publishing Venue

The IP.com Prior Art Database

Abstract

Disclosed is a method to utilize microengine context registers as a stack. Benefits include improved functionality.

This text was extracted from a Microsoft Word document.
This is the abbreviated version, containing approximately 80% of the total text.

Method to utilize microengine context registers as a stack

Disclosed is a methodto utilize microengine context registers as a stack. Benefits include improved functionality.

Background

      Network processor development tools output a file containing machine language code for microengines. The development tools do not provide a way to access the unused registers.

              The way a stack typically works in a stack-based processor is that an executable rewrites the machine language code to backup the contents of all the context-specific registers using the unused registers allocated to the unused contexts.

Description

              The disclosed method utilizes microengine context registers as a stack. The key components of the method include:

·        The output of network processor development tools

·        A separate X86 executable

      The separate executable functions like the stack of a stack-based processor. The separate executable uses published operation codes to provide new code to support the disclosed method. The executable performs the following steps:

1.     Locates predetermined stack create labels in the output of network processor development tools

2.     Replaces nop instructions in the output of network processor development tools at the labels with instructions to copy all 32 context-specific registers for context 1 to the (unused) context-specific registers for context 4

3.     Locates predetermined stack destroy labels in the output of network processor development tools

4.     Replaces nop instructions in the out...