Commit 0c603fbc authored by fbarchard@google.com's avatar fbarchard@google.com

Move AVX code to conditionals used for AVX2 to require newer compiler.

BUG=367
TESTED=try bots
R=harryjin@google.com

Review URL: https://webrtc-codereview.appspot.com/24819004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1105 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 69966593
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1104
Version: 1105
License: BSD
License File: LICENSE
......
......@@ -122,7 +122,6 @@ extern "C" {
#define HAS_BGRATOUVROW_SSSE3
#define HAS_BGRATOYROW_SSSE3
#define HAS_COPYROW_ERMS
#define HAS_COPYROW_AVX
#define HAS_COPYROW_SSE2
#define HAS_COPYROW_X86
#define HAS_HALFROW_SSE2
......@@ -200,6 +199,7 @@ extern "C" {
#if !defined(LIBYUV_DISABLE_X86) && (defined(VISUALC_HAS_AVX2) || \
defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2))
// Effects:
#define HAS_COPYROW_AVX
#define HAS_ARGBPOLYNOMIALROW_AVX2
#define HAS_ARGBSHUFFLEROW_AVX2
#define HAS_ARGBCOPYALPHAROW_AVX2
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1104
#define LIBYUV_VERSION 1105
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment