We dont actually need vzeroupper at start of function

GCC emits vzeroupper automatically when compiling with native
optimizations but we still need it otherwise
This commit is contained in:
Kovid Goyal
2024-02-12 13:11:10 +05:30
parent 16d36c46fe
commit a7c06b38e6
2 changed files with 0 additions and 5 deletions

View File

@@ -297,7 +297,6 @@ FUNC(zero_last_n_bytes)(integer_t vec, const integer_t index, char n) {
}
#define find_match(haystack, sz, get_test_vec) { \
/* zero_upper(); this is disabled as some buggy compilers re-order instructions causing the test result vec to be zero after the test */\
const uint8_t* limit = haystack + sz; \
integer_t chunk; int n; \
\