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/optabs.h | |
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/optabs.h')
-rw-r--r-- | gcc/optabs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/optabs.h b/gcc/optabs.h index bba0a5ce821..71f198abf58 100644 --- a/gcc/optabs.h +++ b/gcc/optabs.h @@ -450,6 +450,7 @@ extern enum insn_code setmem_optab[NUM_MACHINE_MODES]; /* These arrays record the insn_code of two different kinds of insns to perform block compares. */ extern enum insn_code cmpstr_optab[NUM_MACHINE_MODES]; +extern enum insn_code cmpstrn_optab[NUM_MACHINE_MODES]; extern enum insn_code cmpmem_optab[NUM_MACHINE_MODES]; /* Synchronization primitives. This first set is atomic operation for |