RGB565ToARGB AVX2 vzeroupper before the ret, not after.

BUG=421
TESTED=out\release\libyuv_unittest --gtest_filter=*RGB565ToARGB*
R=tpsiaki@google.com

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

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1362 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
fbarchard@google.com 2015-04-07 22:53:12 +00:00
parent 5f609856de
commit 8b9f908134
3 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1357
Version: 1362
License: BSD
License File: LICENSE

View File

@ -11,6 +11,6 @@
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
#define INCLUDE_LIBYUV_VERSION_H_
#define LIBYUV_VERSION 1357
#define LIBYUV_VERSION 1362
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT

View File

@ -567,11 +567,11 @@ void RGB565ToARGBRow_AVX2(const uint8* src_rgb565, uint8* dst_argb,
lea eax, [eax + 32]
sub ecx, 16
jg convertloop
ret
vzeroupper
ret
}
}
#endif HAS_RGB565TOARGBROW_AVX2
#endif // HAS_RGB565TOARGBROW_AVX2
// 24 instructions
__declspec(naked) __declspec(align(16))
@ -2085,6 +2085,7 @@ void NV12ToARGBRow_AVX2(const uint8* y_buf,
jg convertloop
pop esi
vzeroupper
ret
}
}
@ -2115,6 +2116,7 @@ void NV21ToARGBRow_AVX2(const uint8* y_buf,
jg convertloop
pop esi
vzeroupper
ret
}
}