mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 00:01:12 +00:00
faaf733f49
Changes from v1: Use vec api for register. Replace VPCMP with VPCMPEQ Restructure and remove 1 unconditional jump. Change page cross logic to use sall. This patch implements following evex512 version of string functions. evex512 version takes up to 30% less cycle as compared to evex, depending on length and alignment. - strrchr function using 512 bit vectors. - wcsrchr function using 512 bit vectors. Code size data: strrchr-evex.o 879 byte strrchr-evex512.o 601 byte (-32%) wcsrchr-evex.o 882 byte wcsrchr-evex512.o 572 byte (-35%) Placeholder function, not used by any processor at the moment. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
9 lines
148 B
ArmAsm
9 lines
148 B
ArmAsm
# ifndef STRRCHR
|
|
# define STRRCHR __strrchr_evex512
|
|
# endif
|
|
|
|
#include "x86-evex512-vecs.h"
|
|
#include "reg-macros.h"
|
|
|
|
#include "strrchr-evex-base.S"
|