From 1fb68cda67be73f8e573a163add7172ca7dfdd9f Mon Sep 17 00:00:00 2001 From: "fbarchard@google.com" Date: Tue, 30 Sep 2014 00:39:41 +0000 Subject: [PATCH] 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 --- README.chromium | 2 +- include/libyuv/version.h | 2 +- source/row_posix.cc | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.chromium b/README.chromium index a2b74e743..957dd46af 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1097 +Version: 1098 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index ca5be9be2..58c08a1da 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1097 +#define LIBYUV_VERSION 1098 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT diff --git a/source/row_posix.cc b/source/row_posix.cc index b21002af7..9eb67806a 100644 --- a/source/row_posix.cc +++ b/source/row_posix.cc @@ -3271,11 +3271,11 @@ void CopyRow_AVX(const uint8* src, uint8* dst, int count) { asm volatile ( LABELALIGN "1: \n" - "movdqa " MEMACCESS(0) ",%%ymm0 \n" - "movdqa " MEMACCESS2(0x20,0) ",%%ymm1 \n" + "vmovdqu " MEMACCESS(0) ",%%ymm0 \n" + "vmovdqu " MEMACCESS2(0x20,0) ",%%ymm1 \n" "lea " MEMLEA(0x40,0) ",%0 \n" - "movdqa %%ymm0," MEMACCESS(1) " \n" - "movdqa %%ymm1," MEMACCESS2(0x20,1) " \n" + "vmovdqu %%ymm0," MEMACCESS(1) " \n" + "vmovdqu %%ymm1," MEMACCESS2(0x20,1) " \n" "lea " MEMLEA(0x40,1) ",%1 \n" "sub $0x40,%2 \n" "jg 1b \n"