Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
12c019ff
Commit
12c019ff
authored
Sep 29, 2023
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 29, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Support ARM64EC target in intrin.h.
parent
086e114f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
intrin.h
include/msvcrt/intrin.h
+4
-4
No files found.
include/msvcrt/intrin.h
View file @
12c019ff
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
#ifndef _INC_INTRIN
#ifndef _INC_INTRIN
#define _INC_INTRIN
#define _INC_INTRIN
#if defined(__i386__) ||
defined(__x86_64__
)
#if defined(__i386__) ||
(defined(__x86_64__) && !defined(__arm64ec__)
)
# include <x86intrin.h>
# include <x86intrin.h>
#endif
#endif
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
extern
"C"
{
extern
"C"
{
#endif
#endif
#if defined(__i386__) ||
defined(__x86_64__
)
#if defined(__i386__) ||
(defined(__x86_64__) && !defined(__arm64ec__)
)
static
inline
void
__cpuidex
(
int
info
[
4
],
int
ax
,
int
cx
)
static
inline
void
__cpuidex
(
int
info
[
4
],
int
ax
,
int
cx
)
{
{
__asm__
(
"cpuid"
:
"=a"
(
info
[
0
]),
"=b"
(
info
[
1
]),
"=c"
(
info
[
2
]),
"=d"
(
info
[
3
])
:
"a"
(
ax
),
"c"
(
cx
));
__asm__
(
"cpuid"
:
"=a"
(
info
[
0
]),
"=b"
(
info
[
1
]),
"=c"
(
info
[
2
]),
"=d"
(
info
[
3
])
:
"a"
(
ax
),
"c"
(
cx
));
...
@@ -26,7 +26,7 @@ static inline void __cpuid(int info[4], int ax)
...
@@ -26,7 +26,7 @@ static inline void __cpuid(int info[4], int ax)
}
}
#endif
#endif
#if
def __aarch64__
#if
defined(__aarch64__) || defined(__arm64ec__)
typedef
enum
_tag_ARM64INTR_BARRIER_TYPE
typedef
enum
_tag_ARM64INTR_BARRIER_TYPE
{
{
_ARM64_BARRIER_OSHLD
=
0x1
,
_ARM64_BARRIER_OSHLD
=
0x1
,
...
@@ -58,7 +58,7 @@ typedef enum _tag_ARMINTR_BARRIER_TYPE
...
@@ -58,7 +58,7 @@ typedef enum _tag_ARMINTR_BARRIER_TYPE
}
_ARMINTR_BARRIER_TYPE
;
}
_ARMINTR_BARRIER_TYPE
;
#endif
#endif
#if defined(_MSC_VER) && (defined(__arm__) || defined(__aarch64__))
#if defined(_MSC_VER) && (defined(__arm__) || defined(__aarch64__)
|| defined(__arm64ec__)
)
void
__dmb
(
unsigned
int
);
void
__dmb
(
unsigned
int
);
...
...
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