Superscaler processor and method for efficiently recovering...

Electrical computers and digital processing systems: memory – Address formation – Slip control – misaligning – boundary alignment

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S220000, C712S204000, C712S206000, C712S211000

Reexamination Certificate

active

06289428

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates in general to a data processing system and, in particular, to a data processing system including a superscalar processor. Still more particularly, the present invention relates in general to a superscalar processor and method for efficiently recovering from attempting to access misaligned data addresses.
2. Description of the Related Art
A superscalar data processing system is a data processing system which includes a microprocessor architecture which is capable of executing multiple instructions per clock cycle. In order to execute multiple instructions per clock cycle, multiple independent functional units that can execute concurrently are required. These multiple instructions may be executed in their original sequence, or out of order in a sequence which is different in some way from the original sequence. Such a microprocessor architecture typically utilizes LOAD and STORE instructions to move data between storage locations such as main memory, cache, register locations, and/or other types of storage locations. A LOAD/STORE instruction includes an address of the data to be moved.
A microprocessor architecture defines a unit of memory addressability. The unit of memory addressability may be a single byte, two bytes, four bytes, or any other predetermined size. For example, if a four-byte addressable unit is utilized, four bytes of data will be considered to be a single address. Therefore, the possible addressable locations will be multiples of four bytes. The LOAD and STORE instructions will specify a particular starting point in the storage device. Four bytes of data will then be either loaded from or stored into the storage device starting at the defined starting point.
A problem arises when the data address may be a unit which is not divisible by the unit of the addressable units into which the memory is organized. For example, the memory may be organized in four-byte units while data may be addressed by an amount which has a non-zero remainder when divided by the natural word size. An instruction, such as a single LOAD/STORE instruction, may attempt to access data which is located across data boundaries. For example, a single LOAD instruction may attempt to load four bytes of data from a location starting in the middle of an addressable memory unit. In this case, the instruction may attempt to load data located in the last two bytes of one addressable unit and the two bytes of data located in the next consecutive addressable unit.
One known method for executing these types of instructions is to add hardware to the load/store unit and the data cache in the microprocessor making the load/store unit and data cache capable of executing misaligned instructions. The load/store unit is then capable of addressing the middle of an addressable unit and across a data boundary. This method adds complex hardware to the architecture which increases the cost of producing the processor. The required addition of a second read/write port in the data cache is prohibitively expensive in terms of area.
Another known method is to solve this problem in software so that no additional hardware is needed. Although this solution does not increase the cost as significantly as the hardware solutions, this solution tends to be very slow and requires that significant efforts are taken by programmers to minimize such occurrences.
Therefore a need exists for a data processing system and method for efficiently recovering from misalignment of data addresses.
SUMMARY OF THE INVENTION
A superscalar processor and method are disclosed for efficiently recovering from misaligned data addresses. The processor includes a memory device partitioned into a plurality of addressable memory units. Each of the plurality of addressable memory units has a width of a first plurality of bytes. A determination is made regarding whether a data address included within a memory access instruction is misaligned. The data address is misaligned if it includes a first data segment located in a first addressable memory unit and a second data segment located in a second addressable memory unit where the first and second data segments are separated by an addressable memory unit boundary. In response to a determination that the data address is misaligned, a first internal instruction is executed which accesses the first memory unit and obtains the first data segment. A second internal instruction is executed which accesses the second memory unit and obtains the second data segment. The first and second data segments are merged together. All of the instructions executed by the processor are constrained by the memory boundary and do not access memory across the memory boundary.
The above as well as additional objectives, features, and advantages of the present invention will become apparent in the following detailed written description.


REFERENCES:
patent: 5748855 (1998-05-01), Levine et al.
patent: 5752273 (1998-05-01), Nemirovsky
patent: 5802556 (1998-09-01), Patel et al.
patent: 6112297 (2000-08-01), Ray et al.

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Superscaler processor and method for efficiently recovering... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Superscaler processor and method for efficiently recovering..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Superscaler processor and method for efficiently recovering... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2477689

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.