mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-08 18:56:43 +08:00
Use emit for xgetbv in vs2005
BUG=98 TEST=build with vs2005 Review URL: https://webrtc-codereview.appspot.com/845005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@375 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
4c32b3a017
commit
fb49764705
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 374
|
Version: 375
|
||||||
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 374
|
#define LIBYUV_VERSION 375
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
@ -70,7 +70,7 @@ __declspec(naked) __declspec(align(16))
|
|||||||
static uint32 XGetBV(unsigned int xcr) {
|
static uint32 XGetBV(unsigned int xcr) {
|
||||||
__asm {
|
__asm {
|
||||||
mov ecx, [esp + 4] // xcr
|
mov ecx, [esp + 4] // xcr
|
||||||
xgetbv // updates eax and edx. edx unused/
|
_asm _emit 0x0f _asm _emit 0x01 _asm _emit 0xd0 // xgetbv for vs2005.
|
||||||
ret
|
ret
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user