Commit c3ee55d5 authored by fbarchard@google.com's avatar fbarchard@google.com

k for r32 bit registers on pextrw to make valgrind ASAN happy.

BUG=208
TESTED=try bots
Review URL: https://webrtc-codereview.appspot.com/1303005

git-svn-id: http://libyuv.googlecode.com/svn/trunk@655 16f28f9a-4ce2-e073-06de-1de4eb20be90
parent 531c2662
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 654
Version: 655
License: BSD
License File: LICENSE
......
......@@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 654
#define LIBYUV_VERSION 655
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
......@@ -936,7 +936,7 @@ static void ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb,
asm volatile (
"movd %5,%%xmm2 \n"
"movd %6,%%xmm3 \n"
"pextrw $0x1,%%xmm2,%l3 \n"
"pextrw $0x1,%%xmm2,%k3 \n"
"sub $0x2,%2 \n"
"jl 29f \n"
"movdqa %%xmm2,%%xmm0 \n"
......@@ -944,7 +944,7 @@ static void ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb,
"punpckldq %%xmm0,%%xmm2 \n"
"punpckldq %%xmm3,%%xmm3 \n"
"paddd %%xmm3,%%xmm3 \n"
"pextrw $0x3,%%xmm2,%l4 \n"
"pextrw $0x3,%%xmm2,%k4 \n"
".p2align 4 \n"
"2: \n"
......@@ -952,8 +952,8 @@ static void ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb,
"movd (%1,%3,4),%%xmm0 \n"
"movd (%1,%4,4),%%xmm1 \n"
"punpckldq %%xmm1,%%xmm0 \n"
"pextrw $0x1,%%xmm2,%l3 \n"
"pextrw $0x3,%%xmm2,%l4 \n"
"pextrw $0x1,%%xmm2,%k3 \n"
"pextrw $0x3,%%xmm2,%k4 \n"
"movq %%xmm0,(%0) \n"
"lea 0x8(%0),%0 \n"
"sub $0x2,%2 \n"
......@@ -1014,7 +1014,7 @@ static void ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb,
"movd %6,%%xmm3 \n"
"pcmpeqb %%xmm6,%%xmm6 \n"
"psrlw $0x9,%%xmm6 \n"
"pextrw $0x1,%%xmm2,%l3 \n"
"pextrw $0x1,%%xmm2,%k3 \n"
"sub $0x2,%2 \n"
"jl 29f \n"
"movdqa %%xmm2,%%xmm0 \n"
......@@ -1022,7 +1022,7 @@ static void ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb,
"punpckldq %%xmm0,%%xmm2 \n"
"punpckldq %%xmm3,%%xmm3 \n"
"paddd %%xmm3,%%xmm3 \n"
"pextrw $0x3,%%xmm2,%l4 \n"
"pextrw $0x3,%%xmm2,%k4 \n"
".p2align 4 \n"
"2: \n"
......@@ -1036,8 +1036,8 @@ static void ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb,
"pxor %%xmm6,%%xmm1 \n"
"pmaddubsw %%xmm1,%%xmm0 \n"
"psrlw $0x7,%%xmm0 \n"
"pextrw $0x1,%%xmm2,%l3 \n"
"pextrw $0x3,%%xmm2,%l4 \n"
"pextrw $0x1,%%xmm2,%k3 \n"
"pextrw $0x3,%%xmm2,%k4 \n"
"packuswb %%xmm0,%%xmm0 \n"
"movq %%xmm0,(%0) \n"
"lea 0x8(%0),%0 \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