gcc/gcc ChangeLog builtins.c optabs.c config/i ...

uweigand@gcc.gnu.org uweigand@gcc.gnu.org
Tue Aug 3 20:06:00 GMT 2004


CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	uweigand@gcc.gnu.org	2004-08-03 20:06:58

Modified files:
	gcc            : ChangeLog builtins.c optabs.c 
	gcc/config/i370: i370.md 
	gcc/config/s390: s390-protos.h s390.c s390.md 
	gcc/doc        : md.texi 
	gcc/testsuite  : ChangeLog 
Added files:
	gcc/testsuite/gcc.dg: 20030711-1.c 

Log message:
	Backport from mainline:
	2003-07-11  Jakub Jelinek  <jakub@redhat.com>
	
	* optabs.c (prepare_cmp_insn): Try cmpmemM first if it exists,
	then fall back to cmpstrM.
	* builtins.c (expand_builtin_memcmp): Likewise.
	* config/s390/s390-protos.h (s390_expand_cmpstr): Rename to...
	(s390_expand_cmpmem): ... this.
	* config/s390/s390.md (cmpmemdi, cmpmemsi, cmpmem_short_64,
	cmpmem_short_31, cmpmem_long_64, cmpmem_long_31): Renamed
	from cmpstr* patterns.  Rename call to s390_expand_cmpstr
	to s390_expand_cmpmem.
	* config/s390/s390.c (s390_expand_cmpstr): Rename to...
	(s390_expand_cmpstr): ... this.  Rename cmpstr* instructions
	to cmpmem*.
	* config/i370/i370.md (cmpmemsi, cmpmemsi_1): Renamed from
	cmpstr* patterns.
	* doc/md.texi (cmpstrM): Describe as String compare insn, not
	Block compare insn.
	(cmpmemM): Add.
	
	* gcc.dg/20030711-1.c: New test.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.1008&r2=1.16114.2.1009
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtins.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.165.2.10&r2=1.165.2.11
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/optabs.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.153.2.6&r2=1.153.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/i370/i370.md.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.20&r2=1.20.34.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/s390/s390-protos.h.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.21.2.4&r2=1.21.2.5
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/s390/s390.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.70.2.15&r2=1.70.2.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/s390/s390.md.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.41.2.11&r2=1.41.2.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/doc/md.texi.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.57.2.8&r2=1.57.2.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.381&r2=1.2261.2.382
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20030711-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.44.1



More information about the Gcc-cvs mailing list