This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
gcc/gcc ChangeLog loop-unroll.c target-def.h t ...
- From: amylaar at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: 11 Apr 2005 20:32:44 -0000
- Subject: gcc/gcc ChangeLog loop-unroll.c target-def.h t ...
CVSROOT: /cvs/gcc
Module name: gcc
Branch: sh-elf-4_1-branch
Changes by: amylaar@gcc.gnu.org 2005-04-11 20:32:44
Modified files:
gcc : ChangeLog loop-unroll.c target-def.h target.h
Log message:
* sh.c (print_operand): Remove sh_rep_vec extraction.
(sh_output_mi_thunk): Make i unsigned.
* target.h (struct gcc_target): New member adjust_unroll_max.
* target-def.h (TARGET_ADJUST_UNROLL_MAX): Define.
(TARGET_INITIALIZER): Include TARGET_ADJUST_UNROLL_MAX.
* loop-unroll.c (target.h): #include.
(decide_unroll_constant_iterations, decide_unroll_runtime_iterations):
Check / call targetm.adjust_unroll_max.
(decide_unroll_stupid): Likewise.
* sh.c (TARGET_ADJUST_UNROLL_MAX): Only redefine if already defined.
(sh_adjust_unroll_max): Only define if TARGET_ADJUST_UNROLL_MAX
is defined. Update label detection code and iteration lookup,
enable basic functionality, but without IV analysis.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=2.8142.2.3&r2=2.8142.2.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-unroll.c.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.29&r2=1.29.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/target-def.h.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.117&r2=1.117.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/target.h.diff?cvsroot=gcc&only_with_tag=sh-elf-4_1-branch&r1=1.129&r2=1.129.2.1