Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
steinbac
compass-github-pull
Commits
d643ab0d
Commit
d643ab0d
authored
Apr 12, 2018
by
steinbac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed unneeded include
parent
104131ff
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
14 deletions
+9
-14
include/detail/rt/x86/gnu_cpuid.hpp
include/detail/rt/x86/gnu_cpuid.hpp
+0
-1
include/detail/rt/x86/intel_cpuid.hpp
include/detail/rt/x86/intel_cpuid.hpp
+0
-1
include/detail/rt/x86/llvm_cpuid.hpp
include/detail/rt/x86/llvm_cpuid.hpp
+0
-1
include/detail/rt/x86/msvc_cpuid.hpp
include/detail/rt/x86/msvc_cpuid.hpp
+9
-11
No files found.
include/detail/rt/x86/gnu_cpuid.hpp
View file @
d643ab0d
...
...
@@ -6,7 +6,6 @@
#define COMPASS_RT_X86_GNU_CPUID_H_
#include "detail/tags.hpp"
#include "detail/definitions.hpp"
//#include "detail/rt/x86/cpuid_common.hpp"
...
...
include/detail/rt/x86/intel_cpuid.hpp
View file @
d643ab0d
...
...
@@ -11,7 +11,6 @@
#include <bitset>
#include <cstdint>
#include "detail/tags.hpp"
#include "detail/definitions.hpp"
namespace
compass
{
...
...
include/detail/rt/x86/llvm_cpuid.hpp
View file @
d643ab0d
...
...
@@ -5,7 +5,6 @@
#ifdef COMPASS_CT_COMP_CLANG
#include "detail/tags.hpp"
#include "detail/definitions.hpp"
#include <array>
...
...
include/detail/rt/x86/msvc_cpuid.hpp
View file @
d643ab0d
...
...
@@ -12,8 +12,6 @@
#include <bitset>
#include <cstdint>
#include "detail/tags.hpp"
#include "detail/definitions.hpp"
namespace
compass
{
...
...
@@ -26,17 +24,17 @@ namespace compass {
std
::
uint32_t
in_ebx
=
0
,
std
::
uint32_t
in_ecx
=
0
,
std
::
uint32_t
in_edx
=
0
)
{
std
::
array
<
std
::
uint32_t
,
4
>
regs
=
{
in_eax
,
in_ebx
,
in_ecx
,
in_edx
};
std
::
int32_t
*
regs_ptr
=
reinterpret_cast
<
std
::
int32_t
*>
(
regs
.
data
());
std
::
array
<
std
::
uint32_t
,
4
>
regs
=
{
in_eax
,
in_ebx
,
in_ecx
,
in_edx
};
std
::
int32_t
*
regs_ptr
=
reinterpret_cast
<
std
::
int32_t
*>
(
regs
.
data
());
__cpuidex
(
regs_ptr
,
(
std
::
int32_t
)
in_eax
,
(
std
::
int32_t
)
in_ecx
);
(
std
::
int32_t
)
in_eax
,
(
std
::
int32_t
)
in_ecx
);
return
regs
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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