Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christoph Alt
pystencils
Commits
e2fbba20
Commit
e2fbba20
authored
Apr 28, 2021
by
Markus Holzer
Browse files
Merge branch 'amd' into 'master'
Adapt an ifdef for AMD Epyc 7003 See merge request
pycodegen/pystencils!236
parents
bb667c68
4812968d
Changes
1
Hide whitespace changes
Inline
Side-by-side
pystencils/include/aesni_rand.h
View file @
e2fbba20
...
...
@@ -354,7 +354,7 @@ QUALIFIERS const std::array<__m256i,11> & aesni_roundkeys(const __m256i & k256)
}
QUALIFIERS
__m256i
aesni1xm128i
(
const
__m256i
&
in
,
const
__m256i
&
k0
)
{
#if defined(__VAES__)
&& defined(__AVX512VL__)
#if defined(__VAES__)
auto
k
=
aesni_roundkeys
(
k0
);
__m256i
x
=
_mm256_xor_si256
(
k
[
0
],
in
);
x
=
_mm256_aesenc_epi128
(
x
,
k
[
1
]);
...
...
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