OSDN Git Service

* expr.c (cmpstr_optab, cmpmem_optab): New.
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Oct 2003 07:25:32 +0000 (07:25 +0000)
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Oct 2003 07:25:32 +0000 (07:25 +0000)
commit0fbe5a3ef21baf78f3da21ab7fa66f9b28a812f5
treed4a8b3ee4b8b88dd468603c0b19601f19c2ce133
parent6d84574d06901f5e333ccbbc163245cc4267253a
* expr.c (cmpstr_optab, cmpmem_optab): New.
* genopinit.c: Initialize them.
* optabs.h: Declare them.
* optabs.c (init_optabs): Clear them.
(prepare_cmp_insn):  Use cmpstr_optab and cmpmem_optab to find
block memory compare insns, not conditional chains.  Restructure
the fallback generation of a call to memcmp/bcmp for better
readability.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72185 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/expr.c
gcc/genopinit.c
gcc/optabs.c
gcc/optabs.h