Method and system for searching reduction variable quantity in assign ment satement
A technique of assigning statements and variables, which is applied in the field of finding and reducing variables to execute program loops in parallel, and can solve problems such as unsuitable non-nested loops
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0041] like Figure 1-a , Figure 1-b and Figure 1-c As shown, according to the format described in detail below, the expression in each assignment statement of the loop is rewritten (1.1) into a reduced form, so as to facilitate the search operation of certain characteristic strings, wherein the expression:
[0042] ● is expressed in expanded form with all parentheses removed,
[0043] ● replace each division operation with a multiplication operation for the reciprocal of the associated variable or constant,
[0044] ●Use the floating-point format to express each constant as a fixed-length string, for example, the constant 62.1702 is expressed as ".621702e+02",
[0045] ● such that each term begins with a unary operator '+' or '-', followed by a constant operand, if any, followed by a variable operand, where multiplication between any two operands within the term operator, and the term itself cannot be further reduced according to the given variable operands,
[0046] Ma...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 