Checking data type of operands specified by an instruction...

Electrical computers and digital processing systems: processing – Dynamic instruction dependency checking – monitoring or...

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C712S023000, C712S210000

Reexamination Certificate

active

06185671

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
This invention relates to microprocessor systems. In particular, the invention relates to data type checking using a tagged array architecture.
2. Description of Related Art
Specific implementations of high performance microprocessors tend to exploit the particular design aspects in order to achieve high performance or other design objectives. These implementations usually involve different internal data representations. The incompatibility of the internal data representations between different implementations causes many problems including incorrect and/or unexpected results.
One of the basic internal representations is the data type of the operands in an operation or instruction. Typical operations or instructions involve two source operands and a destination operand. To maintain consistency of the representation, the types of data at four localities have to match. These localities include the operation itself, the two source operands, and the destination operand. In addition to the data type, the size of the operand is also important. For example, a double-precision floating-point operation expects the two source operands and the destination operand to be represented in a 64-bit floating-point number format. A type or size mismatch is an indication of some kind of error, such as incorrect parameters, programming mistake, etc.
Type checking of data can be enforced through a number of methods. One method is to associate a specific set of registers of predetermined type and size for a predetermined set of instructions. For example, floating-point instructions can only access floating-point registers. The disadvantages of this method include the use of large silicon area for implementing the pre-assigned registers. Another method is the use of compilers to check for data types. The compiler method, however, involves a high overhead for testing data values and results in lower performance. In addition, not all compilers are compatible; therefore, a program that works under one operating system may not work under another operating system.
In pipelined and superscalar microprocessors, the problem of type mismatch is even more difficult. In particular, the prefetching of instructions and out-of-order execution render data type tracking difficult. Other problems associated with instruction decoding and execution also create architectural challenges. Some examples of these problems are aliased register sets, instruction retirement, mispredicted branches, and exception processing.
Therefore there is a need in the technology to provide an efficient method to facilitate data type matching.
SUMMARY OF THE INVENTION
The present invention discloses a method and apparatus for matching data types of operands in an instruction. A type code of an operand used by the instruction is determined. An attribute value of a storage element which corresponds to the operand is read from a speculative array. This attribute value is then compared with the type code.


REFERENCES:
patent: 5519841 (1996-05-01), Sager
patent: 5740441 (1998-04-01), Yellin
patent: 5765016 (1998-06-01), Walker
patent: 5790826 (1998-08-01), Thusoo
patent: 5884071 (1999-03-01), Kosaraju
patent: 5889982 (1999-03-01), Rodgers
patent: 5978901 (1999-11-01), Luedtke et al.
patent: 6009511 (1999-12-01), Lynch et al.
Visual Instruction Set (VIS) User's Guide, Sun Microsystems, Version 1.1, Mar. 1997, pp i-xii, 1-127.
AMD-3D Technology Manual, Advance Micro Devices, (AMD), Feb. 1998, pp i-x, 1-58.
Microsoft, Microsoft Press Computer Dictionary, 3rd, Ed., 1997, pp. 254,342,480.
Rosenberg, Jerry, Dictionary of Computers, Information Processing & and Telecommunications, 1987, p. 672.

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

Checking data type of operands specified by an instruction... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Checking data type of operands specified by an instruction..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Checking data type of operands specified by an instruction... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2577304

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