-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove optimized unaligned-access code paths.
With newer compilers using vector instructions, these manual optimizations can lead to build errors and do not provide benefits over compiler optimizations. See also r1924100 which deprecated and disabled the corresponding macro. * subversion/libsvn_diff/diff_file.c (contains_eol): Remove. (find_identical_prefix, find_identical_suffix): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK. * subversion/libsvn_fs_fs/tree.c (hash_func): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK. * subversion/libsvn_fs_x/dag_cache.c (cache_lookup): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK. * subversion/libsvn_fs_x/string_table.c (copy_masks): Remove. (table_copy_string): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK. * subversion/libsvn_subr/eol.c (svn_eol__find_eol_start): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK. * subversion/libsvn_subr/hash.c (hashfunc_compatible): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK. * subversion/libsvn_subr/string.c (svn_cstring__match_length): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK. * subversion/libsvn_subr/utf_validate.c (first_non_fsm_start_char): Remove code under #ifdef SVN_UNALIGNED_ACCESS_IS_OK. Reported by: Sam James from gentoo git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1924143 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
1 parent
d6c36c0
commit 33a7886
Showing
8 changed files
with
3 additions
and
304 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.