mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-07 17:26:49 +08:00
Use emit for xgetbv on 32 bit.
BUG=106 TEST=none Review URL: https://webrtc-codereview.appspot.com/863004 git-svn-id: http://libyuv.googlecode.com/svn/trunk@388 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
db11d893c2
commit
8b826a65e6
@ -1,6 +1,6 @@
|
||||
Name: libyuv
|
||||
URL: http://code.google.com/p/libyuv/
|
||||
Version: 387
|
||||
Version: 388
|
||||
License: BSD
|
||||
License File: LICENSE
|
||||
|
||||
|
||||
@ -11,6 +11,6 @@
|
||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||
#define INCLUDE_LIBYUV_VERSION_H_
|
||||
|
||||
#define LIBYUV_VERSION 387
|
||||
#define LIBYUV_VERSION 388
|
||||
|
||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||
|
||||
@ -61,7 +61,8 @@ void CpuId(int cpu_info[4], int) {
|
||||
#endif
|
||||
|
||||
// X86 CPUs have xgetbv to detect OS saves high parts of ymm registers.
|
||||
#if !defined(__CLR_VER) && defined(_MSC_VER) && (_MSC_FULL_VER >= 160040219)
|
||||
#if !defined(__CLR_VER) && defined(_M_X64) && \
|
||||
defined(_MSC_VER) && (_MSC_FULL_VER >= 160040219)
|
||||
#define HAS_XGETBV
|
||||
static uint32 XGetBV(unsigned int xcr) {
|
||||
return static_cast<uint32>(_xgetbv(xcr));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user