Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.nodes/src/com/oracle/graal/nodes/calc/CompareNode.java @ 5060:4ed4295ce15f
Update import statements.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 08 Mar 2012 19:11:12 +0100 |
parents | ed559a528128 |
children |
comparison
equal
deleted
inserted
replaced
5059:ed559a528128 | 5060:4ed4295ce15f |
---|---|
18 * | 18 * |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA | 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any | 20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. | 21 * questions. |
22 */ | 22 */ |
23 package com.oracle.max.graal.nodes.calc; | 23 package com.oracle.graal.nodes.calc; |
24 | 24 |
25 import com.oracle.max.cri.ci.*; | 25 import com.oracle.max.cri.ci.*; |
26 import com.oracle.max.cri.ri.*; | 26 import com.oracle.max.cri.ri.*; |
27 import com.oracle.max.graal.nodes.*; | 27 import com.oracle.graal.nodes.*; |
28 import com.oracle.max.graal.nodes.spi.*; | 28 import com.oracle.graal.nodes.spi.*; |
29 import com.oracle.max.graal.nodes.type.*; | 29 import com.oracle.graal.nodes.type.*; |
30 | 30 |
31 /* TODO (thomaswue/gdub) For high-level optimization purpose the compare node should be a boolean *value* (it is currently only a helper node) | 31 /* TODO (thomaswue/gdub) For high-level optimization purpose the compare node should be a boolean *value* (it is currently only a helper node) |
32 * But in the back-end the comparison should not always be materialized (for example in x86 the comparison result will not be in a register but in a flag) | 32 * But in the back-end the comparison should not always be materialized (for example in x86 the comparison result will not be in a register but in a flag) |
33 * | 33 * |
34 * Compare should probably be made a value (so that it can be canonicalized for example) and in later stages some Compare usage should be transformed | 34 * Compare should probably be made a value (so that it can be canonicalized for example) and in later stages some Compare usage should be transformed |