Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
llvm-epi
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Roger Ferrer
llvm-epi
Commits
ab707891
Commit
ab707891
authored
10 years ago
by
Craig Topper
Browse files
Options
Downloads
Patches
Plain Diff
[x86] Add missing typecast to __v4si to sha intrinsic header file.
llvm-svn: 224882
parent
e3b11043
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
clang/lib/Headers/shaintrin.h
+6
-6
6 additions, 6 deletions
clang/lib/Headers/shaintrin.h
with
6 additions
and
6 deletions
clang/lib/Headers/shaintrin.h
+
6
−
6
View file @
ab707891
...
...
@@ -38,37 +38,37 @@
static
__inline__
__m128i
__attribute__
((
__always_inline__
,
__nodebug__
))
_mm_sha1nexte_epu32
(
__m128i
__X
,
__m128i
__Y
)
{
return
__builtin_ia32_sha1nexte
(
__X
,
__Y
);
return
__builtin_ia32_sha1nexte
(
(
__v4si
)
__X
,
(
__v4si
)
__Y
);
}
static
__inline__
__m128i
__attribute__
((
__always_inline__
,
__nodebug__
))
_mm_sha1msg1_epu32
(
__m128i
__X
,
__m128i
__Y
)
{
return
__builtin_ia32_sha1msg1
(
__X
,
__Y
);
return
__builtin_ia32_sha1msg1
(
(
__v4si
)
__X
,
(
__v4si
)
__Y
);
}
static
__inline__
__m128i
__attribute__
((
__always_inline__
,
__nodebug__
))
_mm_sha1msg2_epu32
(
__m128i
__X
,
__m128i
__Y
)
{
return
__builtin_ia32_sha1msg2
(
__X
,
__Y
);
return
__builtin_ia32_sha1msg2
(
(
__v4si
)
__X
,
(
__v4si
)
__Y
);
}
static
__inline__
__m128i
__attribute__
((
__always_inline__
,
__nodebug__
))
_mm_sha256rnds2_epu32
(
__m128i
__X
,
__m128i
__Y
,
__m128i
__Z
)
{
return
__builtin_ia32_sha256rnds2
(
__X
,
__Y
,
__Z
);
return
__builtin_ia32_sha256rnds2
(
(
__v4si
)
__X
,
(
__v4si
)
__Y
,
(
__v4si
)
__Z
);
}
static
__inline__
__m128i
__attribute__
((
__always_inline__
,
__nodebug__
))
_mm_sha256msg1_epu32
(
__m128i
__X
,
__m128i
__Y
)
{
return
__builtin_ia32_sha256msg1
(
__X
,
__Y
);
return
__builtin_ia32_sha256msg1
(
(
__v4si
)
__X
,
(
__v4si
)
__Y
);
}
static
__inline__
__m128i
__attribute__
((
__always_inline__
,
__nodebug__
))
_mm_sha256msg2_epu32
(
__m128i
__X
,
__m128i
__Y
)
{
return
__builtin_ia32_sha256msg2
(
__X
,
__Y
);
return
__builtin_ia32_sha256msg2
(
(
__v4si
)
__X
,
(
__v4si
)
__Y
);
}
#endif
/* __SHAINTRIN_H */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment