Optimizing instructions for execution on parallel architectures
First Claim
Patent Images
1. A method comprising:
- parsing a code sequence into an internal representation of the sequence;
finding an input channel in the internal representation;
finding a put to the input channel in the internal representation;
finding a get to the input channel in the internal representation;
replacing the input channel with a temporary variable;
replacing the put with a first function call to the temporary variable; and
replacing the get with a second function call to the temporary variable.
1 Assignment
0 Petitions
Accused Products
Abstract
Instructions may be optimized for execution on parallel architectures. In one embodiment, the invention includes parsing a code sequence into an internal representation of the sequence, finding an input channel in the internal representation, finding a put to the input channel in the internal representation, finding a get to the input channel in the internal representation, replacing the input channel with a temporary variable, replacing the put with a first function call to the temporary variable, and replacing the get with a second function call to the temporary variable. Other embodiments are described and claimed.
13 Citations
20 Claims
-
1. A method comprising:
-
parsing a code sequence into an internal representation of the sequence;
finding an input channel in the internal representation;
finding a put to the input channel in the internal representation;
finding a get to the input channel in the internal representation;
replacing the input channel with a temporary variable;
replacing the put with a first function call to the temporary variable; and
replacing the get with a second function call to the temporary variable. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer system comprising:
-
a memory;
a bus coupled to the memory; and
a processor coupled to the bus, the processor using the memory to perform operations comprising;
parsing a code sequence into an internal representation of the sequence;
finding an input channel in the internal representation;
finding a put to the input channel in the internal representation;
finding a get to the input channel in the internal representation;
replacing the input channel with a temporary variable;
replacing the put with a first function call to the temporary variable; and
replacing the get with a second function call to the temporary variable. - View Dependent Claims (13, 14, 15, 16)
-
-
17. A machine-readable medium containing instructions, which when operated on by the machine, cause the machine to perform operations comprising:
-
parsing a code sequence into an internal representation of the sequence;
finding an input channel in the internal representation;
finding a put to the input channel in the internal representation;
finding a get to the input channel in the internal representation;
replacing the input channel with a temporary variable;
replacing the put with a first function call to the temporary variable; and
replacing the get with a second function call to the temporary variable. - View Dependent Claims (18, 19, 20)
-
Specification