Device, system and method of allocating spill cells in binary instrumentation using one free register
First Claim
Patent Images
1. A method comprising allocating spill cells used by an instrumentation fragment that has access to a single free register and that is run on a processor with a register stack architecture.
1 Assignment
0 Petitions
Accused Products
Abstract
There are presented a method, device and system for allocating spill cells for an instrumentation fragment that is run on a processor that uses a register stack architecture where only one free register is available for such fragment.
17 Citations
25 Claims
- 1. A method comprising allocating spill cells used by an instrumentation fragment that has access to a single free register and that is run on a processor with a register stack architecture.
-
8. A method comprising:
-
storing an incremented index in a free register of a processor, such processor using a register stack architecture;
calculating in said free register the address of a cell of a first array corresponding to said incremented index;
loading in said free register an incremented value from said cell of said first array;
comparing said incremented value in said free register to a pre-defined value; and
allocating a cell of a second array corresponding to said index in said free register if said incremented value equals said predefined value. - View Dependent Claims (9, 10)
-
-
11. A method of spill cell allocation comprising:
-
storing an incremented value in a memory and in a free register of a processor that uses a register stack architecture;
comparing said incremented value in said free register to a pre-defined value;
allocating a spill cell if said incremented value in said free register equals said pre-defined value; and
re-setting said incremented value in said memory. - View Dependent Claims (12, 13)
-
- 14. A device comprising a processor with a register stack architecture, said device capable of allocating a spill cell using one free register.
-
17. An article comprising a storage medium having stored thereon instructions that, when executed by a processor, result in:
- storing an incremented index of an array in a free register of a processor using a register stack architecture;
calculating in said free register the address of a cell of an array corresponding to said incremented index;
loading in said free register an incremented value from said cell of said array;
comparing said incremented value in said free register to a pre-defined value; and
allocating a spill cell of a spill array corresponding to said index in said free register if said incremented value equals said predefined value. - View Dependent Claims (18, 19)
- storing an incremented index of an array in a free register of a processor using a register stack architecture;
-
20. A system comprising:
-
a dynamic random access memory storage unit; and
a processor with a register stack architecture capable of allocating a spill cell using one free register. - View Dependent Claims (21, 22)
-
-
23. A processor to:
-
store an incremented index in a free register of said processor, such processor using a register stack architecture;
calculate in said free register the address of a cell of a first array corresponding to said incremented index;
load in said free register an incremented value from said cell of said first array;
compare said incremented value in said free register to a pre-defined value; and
allocate a cell of a second array corresponding to said index in said free register if said incremented value equals said predefined value. - View Dependent Claims (24, 25)
-
Specification