X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=bmusb.cpp;h=86779b438357e719f88567b848ef7586e948eb32;hb=69b4f1db4fc485f28d6265a6adacb9a6baaa095f;hp=080c0bb0dae65f649ee34e5ba26ab023092a5fbf;hpb=a765e066b74ac52ff0abf239d430d6f8d83f792e;p=bmusb diff --git a/bmusb.cpp b/bmusb.cpp index 080c0bb..86779b4 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -536,6 +536,10 @@ const uint8_t *add_to_frame_fastpath(FrameAllocator::Frame *current_frame, const #else // defined(HAS_MULTIVERSIONING) +__attribute__((target("sse4.1"))) +const uint8_t *add_to_frame_fastpath_core(FrameAllocator::Frame *current_frame, const uint8_t *aligned_start, const uint8_t *limit, const char sync_char); + +__attribute__((target("avx2"))) const uint8_t *add_to_frame_fastpath_core(FrameAllocator::Frame *current_frame, const uint8_t *aligned_start, const uint8_t *limit, const char sync_char); // Does a memcpy and memchr in one to reduce processing time.