mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-09 03:06:44 +08:00
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:
parent
5f609856de
commit
8b9f908134
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 1357
|
Version: 1362
|
||||||
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 1357
|
#define LIBYUV_VERSION 1362
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
@ -567,11 +567,11 @@ void RGB565ToARGBRow_AVX2(const uint8* src_rgb565, uint8* dst_argb,
|
|||||||
lea eax, [eax + 32]
|
lea eax, [eax + 32]
|
||||||
sub ecx, 16
|
sub ecx, 16
|
||||||
jg convertloop
|
jg convertloop
|
||||||
ret
|
|
||||||
vzeroupper
|
vzeroupper
|
||||||
|
ret
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif HAS_RGB565TOARGBROW_AVX2
|
#endif // HAS_RGB565TOARGBROW_AVX2
|
||||||
|
|
||||||
// 24 instructions
|
// 24 instructions
|
||||||
__declspec(naked) __declspec(align(16))
|
__declspec(naked) __declspec(align(16))
|
||||||
@ -2085,6 +2085,7 @@ void NV12ToARGBRow_AVX2(const uint8* y_buf,
|
|||||||
jg convertloop
|
jg convertloop
|
||||||
|
|
||||||
pop esi
|
pop esi
|
||||||
|
vzeroupper
|
||||||
ret
|
ret
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2115,6 +2116,7 @@ void NV21ToARGBRow_AVX2(const uint8* y_buf,
|
|||||||
jg convertloop
|
jg convertloop
|
||||||
|
|
||||||
pop esi
|
pop esi
|
||||||
|
vzeroupper
|
||||||
ret
|
ret
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user