r148068 - in /branches/arc-milepost-branch/gcc:...
amylaar@gcc.gnu.org
amylaar@gcc.gnu.org
Mon Jun 1 19:54:00 GMT 2009
Author: amylaar
Date: Mon Jun 1 19:54:52 2009
New Revision: 148068
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=148068
Log:
* target.h (struct gcc_target): Add member ptr_mode.
* target-def.h (TARGET_INITIALIZER): Add initializer for ptr_mode.
* tree-ssa-loop.c (gate_tree_parallelize_loops): Also enable if a
loop is to be executed on another target.
* tree-parloop.c (separate_decls_in_region): New parameter new_target.
Changed caller.
(create loop_fn): New parameter target_arch. Changed caller.
(parallelize_loops): Also enable for loops that are to be executed
on another target.
* tree-vectorizer.c (vectorize_loops): If a loop is to be vectorized
for a different target, only set the target_arch filed in loop and
ignore the lop for now. Use cfun->target_arch to restore target.
* tree-vectorizer.h (struct _loop_vec_info): Remove target_arch member.
* cfgloop.h (struct loop): Add target_arch member.
Modified:
branches/arc-milepost-branch/gcc/ChangeLog.multi-target
branches/arc-milepost-branch/gcc/cfgloop.h
branches/arc-milepost-branch/gcc/target-def.h
branches/arc-milepost-branch/gcc/target.h
branches/arc-milepost-branch/gcc/tree-parloops.c
branches/arc-milepost-branch/gcc/tree-ssa-loop.c
branches/arc-milepost-branch/gcc/tree-vectorizer.c
branches/arc-milepost-branch/gcc/tree-vectorizer.h
More information about the Gcc-cvs
mailing list