// memset16 and memset32 could work on 32-bit x86 too, but for simplicity just use this on x64 #if (defined(__x86_64__) || defined(_M_X64)) && !defined(SK_ENABLE_OPTIMIZE_SIZE)
staticconstchar* note = "MSAN can't see that repsto initializes memory.";
// ERMS is ideal for large copies but has a relatively high setup cost, // so we use the previous best routine for small inputs. FSRM would make this moot. staticvoid (*g_memset16_prev)(uint16_t*, uint16_t, int); staticvoid (*g_memset32_prev)(uint32_t*, uint32_t, int); staticvoid (*g_memset64_prev)(uint64_t*, uint64_t, int); staticvoid (*g_rect_memset16_prev)(uint16_t*, uint16_t, int, size_t, int); staticvoid (*g_rect_memset32_prev)(uint32_t*, uint32_t, int, size_t, int); staticvoid (*g_rect_memset64_prev)(uint64_t*, uint64_t, int, size_t, int);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.