Unlock instant, AI-driven research and patent intelligence for your innovation.

Predictive arithmetic overflow detection

a technology of arithmetic overflow and detection of overflow, applied in the field of computer science, can solve the problems of insufficient memory available for such computations, device memory capacity is typically limited, and the size of the computation stack is typically larg

Inactive Publication Date: 2006-03-07
ORACLE INT CORP
View PDF33 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

"The patent describes a method for detecting when a computer instruction may overflow, meaning it may produce incorrect results. This is done by analyzing the type of operands (the parts of the instruction) and the type of result that the instruction produces. The method can help improve the accuracy and reliability of computer instructions."

Problems solved by technology

However, this type widening typically requires more computational stack space.
On resource-constrained devices such as smart cards, there is typically insufficient memory available to perform such computations where type widening takes place.
Additionally, these devices typically have limited memory capacity.
Performing 32-bit operations on data that has been widened to 32-bits is especially inefficient.
Thus, the limited architecture and memory of resource-constrained devices such as smart cards make it impractical or impossible to execute programs where the values have been widened to a larger integral type.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Predictive arithmetic overflow detection
  • Predictive arithmetic overflow detection
  • Predictive arithmetic overflow detection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0072]Embodiments of the present invention are described herein in the context of a method and apparatus for predictive arithmetic overflow detection. Those of ordinary skill in the art will realize that the following detailed description of the present invention is illustrative only and is not intended to be in any way limiting. Other embodiments of the present invention will readily suggest themselves to such skilled persons having the benefit of this disclosure. Reference will now be made in detail to implementations of the present invention as illustrated in the accompanying drawings. The same reference indicators will be used throughout the drawings and the following detailed description to refer to the same or like parts.

[0073]In the interest of clarity, not all of the routine features of the implementations described herein are shown and described. It will, of course, be appreciated that in the development of any such actual implementation, numerous implementation-specific de...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method for arithmetic overflow detection includes receiving a first instruction defined for a first processor having a first base, where the instruction comprises an operator and at least one operand having an operand type. The method also includes indicating whether the at least one operand has potential overflow based at least in part on the operator and the relationship between the operand type and a result type associated with the operator.

Description

CROSS REFERENCE TO RELATED APPLICATIONS[0001]This Application is a continuation-in-part of application Ser. No. 10 / 686,513 filed on Oct. 14, 2003 in the name of inventors Zhiqun Chen and Judith Schwabe and entitled “Optimization of N-Base Typed Arithmetic Expressions”, which is a continuation of application Ser. No. 10 / 002,437 filed Nov. 1, 2001 now U.S. Pat. No. 6,687,898 in the name of inventors Zhiqun Chen and Judith Schwabe and entitled “Optimization of N-Base Typed Arithmetic Expressions”, which is a continuation of application Ser. No. 09 / 439,113 filed Nov. 12, 1999 (now U.S. Pat. No. 6,363,523) in the name of inventors Zhiqun Chen and Judith Schwabe and entitled “Optimization of N-Base Typed Arithmetic Expressions”, commonly assigned herewith.[0002]This application is related to the following:[0003]U.S. patent application Ser. No. 09 / 243,101, filed Feb. 2, 1999 in the name of inventors Joshua Susser and Judith Schwabe and entitled “Object-Oriented Instruction Set for Resource...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(United States)
IPC IPC(8): G06F9/45
CPCG06F8/52G06F8/4434
Inventor SCHWABE, JUDITHCHEN, ZHIQUN
Owner ORACLE INT CORP