mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 01:06:46 +08:00
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
This commit is contained in:
parent
531c26624f
commit
c3ee55d528
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 654
|
Version: 655
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -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 654
|
#define LIBYUV_VERSION 655
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
@ -936,7 +936,7 @@ static void ScaleARGBCols_SSE2(uint8* dst_argb, const uint8* src_argb,
|
|||||||
asm volatile (
|
asm volatile (
|
||||||
"movd %5,%%xmm2 \n"
|
"movd %5,%%xmm2 \n"
|
||||||
"movd %6,%%xmm3 \n"
|
"movd %6,%%xmm3 \n"
|
||||||
"pextrw $0x1,%%xmm2,%l3 \n"
|
"pextrw $0x1,%%xmm2,%k3 \n"
|
||||||
"sub $0x2,%2 \n"
|
"sub $0x2,%2 \n"
|
||||||
"jl 29f \n"
|
"jl 29f \n"
|
||||||
"movdqa %%xmm2,%%xmm0 \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 %%xmm0,%%xmm2 \n"
|
||||||
"punpckldq %%xmm3,%%xmm3 \n"
|
"punpckldq %%xmm3,%%xmm3 \n"
|
||||||
"paddd %%xmm3,%%xmm3 \n"
|
"paddd %%xmm3,%%xmm3 \n"
|
||||||
"pextrw $0x3,%%xmm2,%l4 \n"
|
"pextrw $0x3,%%xmm2,%k4 \n"
|
||||||
|
|
||||||
".p2align 4 \n"
|
".p2align 4 \n"
|
||||||
"2: \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,%3,4),%%xmm0 \n"
|
||||||
"movd (%1,%4,4),%%xmm1 \n"
|
"movd (%1,%4,4),%%xmm1 \n"
|
||||||
"punpckldq %%xmm1,%%xmm0 \n"
|
"punpckldq %%xmm1,%%xmm0 \n"
|
||||||
"pextrw $0x1,%%xmm2,%l3 \n"
|
"pextrw $0x1,%%xmm2,%k3 \n"
|
||||||
"pextrw $0x3,%%xmm2,%l4 \n"
|
"pextrw $0x3,%%xmm2,%k4 \n"
|
||||||
"movq %%xmm0,(%0) \n"
|
"movq %%xmm0,(%0) \n"
|
||||||
"lea 0x8(%0),%0 \n"
|
"lea 0x8(%0),%0 \n"
|
||||||
"sub $0x2,%2 \n"
|
"sub $0x2,%2 \n"
|
||||||
@ -1014,7 +1014,7 @@ static void ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb,
|
|||||||
"movd %6,%%xmm3 \n"
|
"movd %6,%%xmm3 \n"
|
||||||
"pcmpeqb %%xmm6,%%xmm6 \n"
|
"pcmpeqb %%xmm6,%%xmm6 \n"
|
||||||
"psrlw $0x9,%%xmm6 \n"
|
"psrlw $0x9,%%xmm6 \n"
|
||||||
"pextrw $0x1,%%xmm2,%l3 \n"
|
"pextrw $0x1,%%xmm2,%k3 \n"
|
||||||
"sub $0x2,%2 \n"
|
"sub $0x2,%2 \n"
|
||||||
"jl 29f \n"
|
"jl 29f \n"
|
||||||
"movdqa %%xmm2,%%xmm0 \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 %%xmm0,%%xmm2 \n"
|
||||||
"punpckldq %%xmm3,%%xmm3 \n"
|
"punpckldq %%xmm3,%%xmm3 \n"
|
||||||
"paddd %%xmm3,%%xmm3 \n"
|
"paddd %%xmm3,%%xmm3 \n"
|
||||||
"pextrw $0x3,%%xmm2,%l4 \n"
|
"pextrw $0x3,%%xmm2,%k4 \n"
|
||||||
|
|
||||||
".p2align 4 \n"
|
".p2align 4 \n"
|
||||||
"2: \n"
|
"2: \n"
|
||||||
@ -1036,8 +1036,8 @@ static void ScaleARGBFilterCols_SSSE3(uint8* dst_argb, const uint8* src_argb,
|
|||||||
"pxor %%xmm6,%%xmm1 \n"
|
"pxor %%xmm6,%%xmm1 \n"
|
||||||
"pmaddubsw %%xmm1,%%xmm0 \n"
|
"pmaddubsw %%xmm1,%%xmm0 \n"
|
||||||
"psrlw $0x7,%%xmm0 \n"
|
"psrlw $0x7,%%xmm0 \n"
|
||||||
"pextrw $0x1,%%xmm2,%l3 \n"
|
"pextrw $0x1,%%xmm2,%k3 \n"
|
||||||
"pextrw $0x3,%%xmm2,%l4 \n"
|
"pextrw $0x3,%%xmm2,%k4 \n"
|
||||||
"packuswb %%xmm0,%%xmm0 \n"
|
"packuswb %%xmm0,%%xmm0 \n"
|
||||||
"movq %%xmm0,(%0) \n"
|
"movq %%xmm0,(%0) \n"
|
||||||
"lea 0x8(%0),%0 \n"
|
"lea 0x8(%0),%0 \n"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user