Commit 1fb68cda authored by fbarchard@google.com's avatar fbarchard@google.com

port/fix CopyRow_AVX to gcc

BUG=363
TESTED=osx build
R=tpsiaki@google.com

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

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1098 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent d33bf86b
Name: libyuv Name: libyuv
URL: http://code.google.com/p/libyuv/ URL: http://code.google.com/p/libyuv/
Version: 1097 Version: 1098
License: BSD License: BSD
License File: LICENSE License File: LICENSE
......
...@@ -11,6 +11,6 @@ ...@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_ #define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1097 #define LIBYUV_VERSION 1098
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
...@@ -3271,11 +3271,11 @@ void CopyRow_AVX(const uint8* src, uint8* dst, int count) { ...@@ -3271,11 +3271,11 @@ void CopyRow_AVX(const uint8* src, uint8* dst, int count) {
asm volatile ( asm volatile (
LABELALIGN LABELALIGN
"1: \n" "1: \n"
"movdqa " MEMACCESS(0) ",%%ymm0 \n" "vmovdqu " MEMACCESS(0) ",%%ymm0 \n"
"movdqa " MEMACCESS2(0x20,0) ",%%ymm1 \n" "vmovdqu " MEMACCESS2(0x20,0) ",%%ymm1 \n"
"lea " MEMLEA(0x40,0) ",%0 \n" "lea " MEMLEA(0x40,0) ",%0 \n"
"movdqa %%ymm0," MEMACCESS(1) " \n" "vmovdqu %%ymm0," MEMACCESS(1) " \n"
"movdqa %%ymm1," MEMACCESS2(0x20,1) " \n" "vmovdqu %%ymm1," MEMACCESS2(0x20,1) " \n"
"lea " MEMLEA(0x40,1) ",%1 \n" "lea " MEMLEA(0x40,1) ",%1 \n"
"sub $0x40,%2 \n" "sub $0x40,%2 \n"
"jg 1b \n" "jg 1b \n"
......
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