From fbff3e4f576c0525241f0f02ad0fd31d215aaa71 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 5 Oct 2015 22:46:20 +0200 Subject: [PATCH] Switch __SSE2__ defines over to __SSE4_1__, as we use ptest. --- bmusb.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bmusb.cpp b/bmusb.cpp index 78e6b41..3c86d35 100644 --- a/bmusb.cpp +++ b/bmusb.cpp @@ -13,7 +13,7 @@ #include #include #include -#ifdef __SSE2__ +#ifdef __SSE4_1__ #include #endif #include @@ -281,7 +281,7 @@ void add_to_frame(FrameAllocator::Frame *current_frame, const char *frame_type_n } } -#ifdef __SSE2__ +#ifdef __SSE4_1__ #if 0 void avx2_dump(const char *name, __m256i n) @@ -515,7 +515,7 @@ void decode_packs(const libusb_transfer *xfr, const uint8_t *start = xfr->buffer + offset; const uint8_t *limit = start + pack->actual_length; while (start < limit) { // Usually runs only one iteration. -#ifdef __SSE2__ +#ifdef __SSE4_1__ start = add_to_frame_fastpath(current_frame, start, limit, sync_pattern[0]); if (start == limit) break; assert(start < limit); -- 2.39.2