# US 2012/0233414 A1 · Short pointers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2012/0233414 A1
- Document ID: US20120233414A1
- Status: Published application
- Kind: A1
- Application number: 13/045,919
- Filed: 2011-03-11
- Published: 2012-09-13
- Earliest claimed: 2011-03-11
- Assignees: Telefonaktiebolaget L M Ericsson (publ)
- Inventors: Stephan Meier; John G. Favor; Evan Gewirtz; Robert Hathaway; Eric Trehus
- Web page: https://patentgrep.com/patent/US20120233414A1

## CPC

- G06F 9/30043: {LOAD or STORE instructions; Clear instruction}
- G06F 9/342: {Extension of operand address space}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A digital processor stores pointers of different sizes in memory. The processor, specifically, executes instructions to store a long or short pointer. Long pointers reference any address in the memory's logical address space, while short pointers merely reference any address in a subset of that space. However, short pointers are smaller in size as stored in memory than long pointers. Long pointers thus support relatively large address range capabilities, while short pointers use less memory. The processor also executes instructions to load a long or short pointer into the register file, and does so in a way that does not require the processor to distinguish between the different pointers when executing other instructions. Specifically, the processor converts long and short pointers into a common format for loading into the register file, and converts pointers in the common format back into long or short pointers for storing in the memory.

## Claims

### Claim 1

A digital processor operative to process pointers associated with a logically segmented memory, the digital processor configured to:
execute instructions to load into a register file or to store in said memory a long pointer that references any address in a logical address space of said memory, the logical address space of predetermined size;
execute instructions to load into said register file or to store in said memory a short pointer that references any address in a subset of the logical address space;
convert long pointers or short pointers into a common format for loading into the register file; and
convert pointers in the common format into long or short pointers for storing in said memory, a short pointer relatively smaller in size as stored in said memory than a long pointer.

### Claim 2 (depends on 1)

The digital processor of claim 1, wherein both long and short pointers reference any one of a predetermined number of segments of the logical address space, and wherein long pointers reference any address within a segment and short pointers reference any address in a subset of a segment.

### Claim 3 (depends on 2)

The digital processor of claim 2, wherein as compared to long pointers short pointers comprise a fewer number of predetermined bits that indicate a particular address within a segment, and wherein the digital processor is configured to:
convert short pointers into the common format by adding padding to said predetermined bits; and
convert pointers in the common format to short pointers by extracting one or more of said predetermined bits, but not said padding, for storing in said memory.

### Claim 4 (depends on 1)

The digital processor of claim 1, configured to convert short pointers into the common format by adding padding to short pointers and to convert long pointers into the common format by removing padding from long pointers.

### Claim 5 (depends on 1)

The digital processor of claim 1, further configured to execute different instructions to load or store different types of short pointers, different types of short pointers referencing addresses in subsets of different sizes.

### Claim 6 (depends on 1)

The digital processor of claim 1, further configured to execute the same instruction to load different types of short pointers based on one or more bits of a short pointer that identify its type, different types of short pointers referencing addresses in subsets of different sizes.

### Claim 7 (depends on 1)

The digital processor of claim 1, further configured to execute the same instruction to store pointers in the common format in said memory as different types of short pointers, based on one or more bits of a pointer in the common format that identify the type of short pointer in which it is to be stored, different types of short pointers referencing addresses in subsets of different sizes.

### Claim 8 (depends on 1)

The digital processor of claim 1, further configured to execute instructions to load into the register file or to store in the memory integers of different sizes that correspond to sizes of said long and short pointers.

### Claim 9 (depends on 1)

The digital processor of claim 1, wherein long pointers have a size of 64 bits as stored in the memory and short pointers have a size of 32 bits as stored in the memory.

### Claim 10 (depends on 9)

The digital processor of claim 9, wherein long pointers as stored in the memory comprise 8 bits that indicate any one of a predetermined number of segments of the logical address space and 32 bits that indicate any one of the addresses within a segment, and wherein short pointers as stored in the memory comprise 8 bits that indicate any one of said segments and 24 bits that indicate any one of the addresses in a subset of a segment.

### Claim 11 (depends on 9)

The digital processor of claim 9, wherein long pointers as stored in the memory comprise 8 bits that indicate any one of a predetermined number of segments of the logical address space and 32 bits that indicate any address within a segment, and wherein short pointers as stored in the memory have any of at least two of:
a first type comprising 8 bits that indicate any one of said segments and 24 bits that indicate any address in a subset of a segment;
a second type comprising 4 bits that indicate any segment in a subset of said segments and 28 bits that indicate any address in a subset of a segment; and
a third type comprising 32 bits that indicate any address within a segment.

### Claim 12 (depends on 11)

The digital processor of claim 11, configured to load into the register file at least one of said second type and said third type, the processor configured to:
load a short pointer that has said second type into the register file by both loading the short pointer from the memory and by loading 4 bits from a special register that indicate any segment in a remaining subset of said segments, the short pointer as loaded into the register file thereby indicating any one of said segments and any address in a subset of a segment; and
load a short pointer that has said third type into the register file by both loading the short pointer from the memory and by loading 8 bits from a special register that indicate any one of said segments, the short pointer as loaded into the register file thereby indicating any one of said segments and any address within a segment.

### Claim 13

A method in a digital processor operative to process pointers associated with a logically segmented memory, the method comprising:
executing instructions to load into a register file or to store in said memory a long pointer that references any address in a logical address space of said memory, the logical address space of predetermined size;
executing instructions to load into said register file or to store in said memory a short pointer that references any address in a subset of the logical address space;
converting long pointers or short pointers into a common format for loading into the register file; and
converting pointers in the common format into long or short pointers for storing in said memory, a short pointer relatively smaller in size as stored in said memory than a long pointer.

### Claim 14 (depends on 13)

The method of claim 13, wherein both long and short pointers reference any one of a predetermined number of segments of the logical address space, and wherein long pointers reference any address within a segment and short pointers reference any address in a subset of a segment.

### Claim 15 (depends on 14)

The method of claim 14, wherein as compared to long pointers short pointers comprise a fewer number of predetermined bits that indicate a particular address within a segment, and wherein the method comprises:
converting short pointers into the common format by adding padding to said predetermined bits; and
converting pointers in the common format to short pointers by extracting one or more of said predetermined bits, but not said padding, for storing in said memory.

### Claim 16 (depends on 13)

The method of claim 13, comprising converting short pointers into the common format by adding padding to short pointers and converting long pointers into the common format by removing padding from long pointers.

### Claim 17 (depends on 13)

The method of claim 13, comprising executing different instructions to load or store different types of short pointers, different types of short pointers referencing addresses in subsets of different sizes.

### Claim 18 (depends on 13)

The method of claim 13, comprising executing the same instruction to load different types of short pointers based on one or more bits of a short pointer that identity its type, different types of short pointers referencing addresses in subsets of different sizes.

### Claim 19 (depends on 13)

The method of claim 13, comprising executing the same instruction to store pointers in the common format in said memory as different types of short pointers, based on one or more bits of a pointer in the common format that identify the type of short pointer in which it is to be stored, different types of short pointers referencing addresses in subsets of different sizes.

### Claim 20 (depends on 13)

The method of claim 13, further comprising executing instructions to load into the register file or store in the memory integers of different sizes that correspond to sizes of said long and short pointers.

### Claim 21 (depends on 13)

The method of claim 13, wherein long pointers have a size of 64 bits as stored in the memory and short pointers have a size of 32 bits as stored in the memory.

### Claim 22 (depends on 21)

The method of claim 21, wherein long pointers comprise 8 bits that indicate any one of a predetermined number of segments of the logical address space and 32 bits that indicate any address within a segment, and wherein short pointers comprise 8 bits that indicate any one of said segments and 24 bits that indicate any address in a subset of a segment.

### Claim 23 (depends on 21)

The method of claim 21, wherein long pointers comprise 8 bits that indicate any one of a predetermined number of segments of the logical address space and 32 bits that indicate any address within a segment, and wherein short pointers have any of at least two of:
a first type comprising 8 bits that indicate any one of said segments and 24 bits that indicate any address in a subset of a segment;
a second type comprising 4 bits that indicate any segment in a subset of said segments and 28 bits that indicate any address in a subset of a segment; and
a third type comprising 32 bits that indicate any address within a segment.

### Claim 24 (depends on 23)

The method of claim 23, comprising loading into the register file at least one of said second type and said third type, wherein:
loading a short pointer that has said second type into the register file comprises both loading the short pointer from the memory and loading 4 bits from a special register that indicate any segment in a remaining subset of said segments, the short pointer as loaded into the register file thereby indicating any one of said segments and any address in a subset of a segment; and
loading a short pointer that has said third type into the register file comprises both loading the short pointer from the memory and loading 8 bits from a special register that indicate any one of said segments, the short pointer as loaded into the register file thereby indicating any one of said segments and any address within a segment.

### Claim 25

A digital processor operative to process pointers associated with a logically segmented memory, the digital processor configured to:
execute instructions to load into a register file or to store in said memory differently sized integers; and
execute instructions to load into a register file or to store in said memory correspondingly sized pointers.
