diff options
author | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-07-12 12:29:04 -0700 |
---|---|---|
committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2022-07-13 14:55:31 -0700 |
commit | 425647458b03652526f670da7a0c2605513cf450 (patch) | |
tree | 675e2583679b0522f3f3f9f30722c1667ad9666d /sysdeps/x86_64/wcsrchr.S | |
parent | 08af081ffd3baa371435da0c6906453e9c8be5f5 (diff) | |
download | glibc-425647458b03652526f670da7a0c2605513cf450.tar.gz glibc-425647458b03652526f670da7a0c2605513cf450.tar.xz glibc-425647458b03652526f670da7a0c2605513cf450.zip |
x86: Move strrchr SSE2 implementation to multiarch/strrchr-sse2.S
This commit doesn't affect libc.so.6, its just housekeeping to prepare for adding explicit ISA level support. Tested build on x86_64 and x86_32 with/without multiarch.
Diffstat (limited to 'sysdeps/x86_64/wcsrchr.S')
-rw-r--r-- | sysdeps/x86_64/wcsrchr.S | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sysdeps/x86_64/wcsrchr.S b/sysdeps/x86_64/wcsrchr.S index 2b80efc5ef..1d4b1eb21c 100644 --- a/sysdeps/x86_64/wcsrchr.S +++ b/sysdeps/x86_64/wcsrchr.S @@ -16,12 +16,5 @@ License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ - -#define USE_AS_WCSRCHR 1 -#define NO_PMINU 1 - -#ifndef STRRCHR -# define STRRCHR wcsrchr -#endif - -#include "../strrchr.S" +#define STRRCHR wcsrchr +#include "multiarch/wcsrchr-sse2.S" |