From 9cd5bc0ceb4664074b7388472678e4ac504c2639 Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Thu, 28 Nov 2013 00:25:07 +0000 Subject: [PATCH] Remove most comments about NaCL since it is fully supported. BUG=none TESTED=untested R=tpsiaki@google.com Review URL: https://webrtc-codereview.appspot.com/4579004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@878 16f28f9a-4ce2-e073-06de-1de4eb20be90 --- include/libyuv/row.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/include/libyuv/row.h b/include/libyuv/row.h index ca9689048..b6056fdca 100644 --- a/include/libyuv/row.h +++ b/include/libyuv/row.h @@ -35,7 +35,7 @@ extern "C" { #define LIBYUV_SSSE3_ONLY #endif -// The following are available on all x86 platforms, including NaCL: +// The following are available on all x86 platforms: #if !defined(LIBYUV_DISABLE_X86) && \ (defined(_M_IX86) || defined(__x86_64__) || defined(__i386__)) // Effects: @@ -137,7 +137,7 @@ extern "C" { #define HAS_YUY2TOUV422ROW_SSE2 #define HAS_YUY2TOUVROW_SSE2 #define HAS_YUY2TOYROW_SSE2 -#endif // The above are available on all x86 platforms, including NaCL +#endif // GCC >= 4.7.0 required for AVX2. #if defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__)) @@ -158,8 +158,9 @@ extern "C" { #define VISUALC_HAS_AVX2 1 #endif // VisualStudio >= 2012 -// The following are available on all x86 platforms except NaCL x64, and +// The following are available on all x86 platforms, but // require VS2012, clang 3.4 or gcc 4.7. +// The code supports NaCL but requires a new compiler and validator. #if !defined(LIBYUV_DISABLE_X86) && (defined(VISUALC_HAS_AVX2) || \ defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2)) // Effects: @@ -216,13 +217,10 @@ extern "C" { #if !defined(LIBYUV_DISABLE_X86) && \ (defined(_M_IX86) || defined(__x86_64__) || defined(__i386__)) && \ !defined(LIBYUV_SSSE3_ONLY) -// Available with NaCL: #define HAS_ARGBBLENDROW_SSE2 #define HAS_ARGBATTENUATEROW_SSE2 -#if !(defined(__native_client__) && defined(__x86_64__)) #define HAS_MIRRORROW_SSE2 #endif -#endif // The following are available on Neon platforms: #if !defined(LIBYUV_DISABLE_NEON) && \