< prev index next >
src/share/vm/opto/loopnode.cpp
Print this page
rev 8471 : SIMD: fixing bug in alignment - invariant and scale. Also A LOT of tracing.
@@ -2405,10 +2405,17 @@
if (UseSuperWord && C->has_loops() && !C->major_progress()) {
// SuperWord transform
SuperWord sw(this);
for (LoopTreeIterator iter(_ltree_root); !iter.done(); iter.next()) {
IdealLoopTree* lpt = iter.current();
+ #ifndef PRODUCT
+ if (TraceLoopOpts) {
+ tty->print_cr("Testing for SuperWord loop %d", lpt->_head->_idx);
+ lpt->dump_head();
+ lpt->dump();
+ }
+ #endif
if (lpt->is_counted()) {
sw.transform_loop(lpt);
}
}
}
@@ -3676,11 +3683,10 @@
// Dump root loop indexed by last element in PO order
dump( _ltree_root, rpo_list.size(), rpo_list );
}
void PhaseIdealLoop::dump( IdealLoopTree *loop, uint idx, Node_List &rpo_list ) const {
- CloneMap& cm = C->clone_map();
loop->dump_head();
// Now scan for CFG nodes in the same loop
for( uint j=idx; j > 0; j-- ) {
Node *n = rpo_list[j-1];
@@ -3708,11 +3714,10 @@
// any MultiBranch ctrl node), so apply a similar transform to
// the cached idom returned from idom_no_update.
cached_idom = find_non_split_ctrl(cached_idom);
}
tty->print(" ID:%d",computed_idom->_idx);
- cm.dump(n->_idx);
n->dump();
if( cached_idom != computed_idom ) {
tty->print_cr("*** BROKEN IDOM! Computed as: %d, cached as: %d",
computed_idom->_idx, cached_idom->_idx);
}
@@ -3728,11 +3733,10 @@
_nodes[k], has_ctrl(m) ? get_ctrl_no_update(m) : NULL);
}
for( uint j = 0; j < loop->_nest; j++ )
tty->print(" ");
tty->print(" ");
- cm.dump(m->_idx);
m->dump();
}
}
}
}
< prev index next >