Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
16ad35f6
Commit
16ad35f6
authored
Nov 22, 2013
by
Yaowu Xu
Committed by
Gerrit Code Review
Nov 22, 2013
Browse files
Merge "Fix the cpuid macro for x86_64 non-gcc build"
parents
a64a192c
36dfb90c
Changes
1
Hide whitespace changes
Inline
Side-by-side
vpx_ports/x86.h
View file @
16ad35f6
...
...
@@ -71,11 +71,11 @@ typedef enum {
#endif
#else
/* end __SUNPRO__ */
#if ARCH_X86_64
void
__cpuid
(
int
CPUInfo
[
4
],
int
info_type
);
#pragma intrinsic(__cpuid)
void
__cpuid
ex
(
int
CPUInfo
[
4
],
int
info_type
,
int
ecxvalue
);
#pragma intrinsic(__cpuid
ex
)
#define cpuid(func, func2, a, b, c, d) do {\
int regs[4];\
__cpuid(regs, func, func2);
__cpuid
ex
(regs, func, func2);
\
a = regs[0]; b = regs[1]; c = regs[2]; d = regs[3];\
} while(0)
#else
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment