This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/21329] [4.0 Regression] optimize i386 block copy


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-05-18 19:09 -------
Subject: Bug 21329

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-rhl-branch
Changes by:	jakub@gcc.gnu.org	2005-05-18 19:08:44

Modified files:
	gcc            : ChangeLog 
	gcc/config/i386: i386.c 

Log message:
	2005-05-06  Denis Vlasenko  <vda@port.imtp.ilyichevsk.odessa.ua>
	Jakub Jelinek  <jakub@redhat.com>
	
	PR target/21329
	* config/i386/i386.c (ix86_expand_movmem): Don't use rep; movsb
	for -Os if (movsl;)*(movsw;)?(movsb;)? sequence is shorter.
	Don't use rep; movs{l,q} if the repetition count is really small,
	instead use a sequence of movs{l,q} instructions.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=2.7592.2.10.2.33&r2=2.7592.2.10.2.34
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i386/i386.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-rhl-branch&r1=1.795.8.9&r2=1.795.8.10



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21329


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]