Patent
1996-04-30
1998-11-10
Trammell, James P.
395709, 395500, G06F 945
Patent
active
058357742
ABSTRACT:
The present invention describes a system and method to efficiently implement case table constructs for integral datatypes larger than the native underlying register size of the architecture. The method for generating case table constructs for a n-bit case variable on a computer system having a m-bit architecture, where n is greater than m, includes the step of determining whether the n-bit case variable can be represented in m bits. Since the code for a m-bit case variable is more efficient than the code for a n-bit case variable, the present invention determines which case variables require code for n-bit values and which case variables can be implemented in the more efficient code for m-bit values. If the case variable can be reduced to m-bits then the present invention uses the more efficient m-bit case variable code for implementation. Otherwise, the less efficient n-bit case variable code is used. The invention describes an efficient method for performing this test at runtime.
REFERENCES:
patent: 5210839 (1993-05-01), Powell et al.
patent: 5339420 (1994-08-01), Hoxey
patent: 5430864 (1995-07-01), Powell et al.
patent: 5487158 (1996-01-01), Amelina ety al.
W.J. Rottenkolber, et al., Jump and Execute Tables For Directing Program Control Flow, Nov. 1994, Fourth Dimensions, pp. 13-16.
L.V. Atkinson, Optimizing Two-State Case Statements In Pascal, Nov. 1980, Software-Practice & Experience, vol. 12, pp.571-581.
J.L. Hennessy, et al., Compilation Of The Pascal Case Statement, May 1982, Software-Practice & Experience, vol. 12, pp. 879-882.
R.L. Bernstein, Short Comunication, Jan. 1985, Software-Practice & Experience, vol. 15, pp. 1021-1024.
E. Amiel, et al., Optimizing Multi-Method Dispatch Using Compressed Dispatch Tables, Oct. 1994, Association of Computing Machinery, pp. 244-258.
"Shade: A Fast Instruction--Set Simulator for Execution Profiling", Cmelik R. et al., ACM, 1994.
Chaki Kakali
Hewlett--Packard Company
Lee Denise A.
Trammell James P.
LandOfFree
Efficient 32-bit based case table support for 64-bit architectur does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Efficient 32-bit based case table support for 64-bit architectur, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Efficient 32-bit based case table support for 64-bit architectur will most certainly appreciate the feedback.
Profile ID: LFUS-PAI-O-1527472