diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-12 09:20:21 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-07-12 09:20:21 +0000 |
commit | 6ac5504b880a3ab0799b38230a367d4ce46dc031 (patch) | |
tree | 958e94659cf1699b8af01c3da5cdf919e2da079f /gcc/genopinit.c | |
parent | 88618d58bc2145a8cb7162936e3471d30a8f9a42 (diff) | |
download | gcc-6ac5504b880a3ab0799b38230a367d4ce46dc031.tar.gz |
2005-07-12 Adrian Straetling <straetling@de.ibm.com>
* builtins.c: (expand_builtin_memcmp, expand_builtin_strncmp):
s/cmpstrsi/cmpstrnsi
(expand_builtin_strcmp): Rewrite to support both 'cmpstrsi' and
'cmpstrnsi'.
* optabs.c: (prepare_cmp_insn): Add availability of 'cmpstrn'.
(init_optabs): Initialize cmpstrn_optab.
* optabs.h: (enum insn_code cmpstrn_optab): Declare.
* genopinit.c: (optabs[]): Add 'cmpstrn' to initialisation.
* expr.c: (enum insn_code cmpstrn_optab): Declare.
* config/i386/i386.md: s/cmpstr/cmpstrn
* config/c4x/c4x.md: s/cmpstr/cmpstrn
* doc/md.texi: Update documentation.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101916 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genopinit.c')
-rw-r--r-- | gcc/genopinit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/genopinit.c b/gcc/genopinit.c index 409ed08903b..8bf574743e9 100644 --- a/gcc/genopinit.c +++ b/gcc/genopinit.c @@ -169,6 +169,7 @@ static const char * const optabs[] = "reload_out_optab[$A] = CODE_FOR_$(reload_out$a$)", "movmem_optab[$A] = CODE_FOR_$(movmem$a$)", "cmpstr_optab[$A] = CODE_FOR_$(cmpstr$a$)", + "cmpstrn_optab[$A] = CODE_FOR_$(cmpstrn$a$)", "cmpmem_optab[$A] = CODE_FOR_$(cmpmem$a$)", "setmem_optab[$A] = CODE_FOR_$(setmem$a$)", "sync_add_optab[$A] = CODE_FOR_$(sync_add$I$a$)", |