diff options
author | Roger Sayle <roger@eyesopen.com> | 2001-12-13 00:43:51 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2001-12-12 16:43:51 -0800 |
commit | c2bd38e89276e521395d42410655af037ee0c3ed (patch) | |
tree | d40d346c1448d1fbceadd76b947d2bb4312a9c5f /libjava/java/sql/BatchUpdateException.java | |
parent | 897bb55fe36f6908d336f79c9853f1dd16058790 (diff) | |
download | gcc-c2bd38e89276e521395d42410655af037ee0c3ed.zip gcc-c2bd38e89276e521395d42410655af037ee0c3ed.tar.gz gcc-c2bd38e89276e521395d42410655af037ee0c3ed.tar.bz2 |
builtins.c (expand_builtin_memset, [...]): Additional arguments TARGET and MODE.
* builtins.c (expand_builtin_memset, expand_builtin_memcpy,
expand_builtin_strcpy): Additional arguments TARGET and MODE.
(expand_builtin_bzero, expand_builtin_strcpy,
expand_builtin_strncpy, expand_builtin_bzero): Pass additional
TARGET and MODE parameters to the above functions.
(expand_builtin_memset, expand_builtin_memcpy): Optimize the
case where the LEN parameter is constant zero.
(expand_builtin_memcmp): No longer conditional on
HAVE_cmpstrsi. Take an additional mode parameter. Optimize
the cases where len is either constant zero or one.
Optimize to call to memcpy, even if the memcpy isn't inlined.
(expand_builtin_strncpy): Optimize to call memcpy, even if the
memcpy isn't inlined.
(expand_builtin_strcmp, expand_builtin_strncmp): Always attempt
to optimize to a call to memcmp.
(expand_builtin): expand_builtin_memcmp can always be called,
and pass the required parameters to expand_builtin_memcmp,
expand_builtin_memset, expand_builtin_memcpy and
expand_builtin_strcpy.
* gcc.c-torture/execute/string-opt-14.c: New test case.
* gcc.c-torture/execute/string-opt-15.c: New test case.
From-SVN: r47960
Diffstat (limited to 'libjava/java/sql/BatchUpdateException.java')
0 files changed, 0 insertions, 0 deletions