Commit 8b9f9081 authored by fbarchard@google.com's avatar fbarchard@google.com

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
parent 5f609856
Name: libyuv
URL: http://code.google.com/p/libyuv/
Version: 1357
Version: 1362
License: BSD
License File: LICENSE
......
......@@ -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
......@@ -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
}
}
......
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