[PATCH] x86: Remove unused VZEROUPPER_SHORT_RETURN macro from memset
RyotaSaito
saito.ryota.23@shizuoka.ac.jp
Wed Jul 1 07:20:34 GMT 2026
The VZEROUPPER_SHORT_RETURN macro in memset-vec-unaligned-erms.S has had
no users since commit e59ced238482 ("x86: Optimize
memset-vec-unaligned-erms.S") removed its last invocation, leaving both
the VEC_SIZE > 16 definition and the "rep; ret" fallback definition in
place. Remove the two now-dead definitions.
Signed-off-by: RyotaSaito <saito.ryota.23@shizuoka.ac.jp>
---
sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
index 24261608d3..b36ef27e58 100644
--- a/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
+++ b/sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
@@ -42,16 +42,11 @@
#ifndef VZEROUPPER
# if VEC_SIZE > 16
# define VZEROUPPER vzeroupper
-# define VZEROUPPER_SHORT_RETURN vzeroupper; ret
# else
# define VZEROUPPER
# endif
#endif
-#ifndef VZEROUPPER_SHORT_RETURN
-# define VZEROUPPER_SHORT_RETURN rep; ret
-#endif
-
#ifndef MOVQ
# if VEC_SIZE > 16
# define MOVQ vmovq
--
2.43.0
More information about the Libc-alpha
mailing list