Skip to content

Commit

Permalink
Fix generic AVX executor
Browse files Browse the repository at this point in the history
  • Loading branch information
daskol committed Oct 18, 2019
1 parent 61a24e9 commit 0d005fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fast-bernoulli/cc/executor.cc
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ void TAvxExecutor::Execute(const void *src, void *dst, size_t noblocks) {
for (auto it = begin; it != end; ++it, ++res) {
ymm00 = _mm256_load_si256(it);
for (size_t ip = 0; ip != Plan_.NoOps_; ++ip) {
switch (Plan_.Ops_[Plan_.NoOps_ - ip - 1]) {
switch (Plan_.Ops_[ip]) {
case EOp::Not:
ymm01 = _mm256_set1_epi64x(-1l);
ymm00 = _mm256_xor_si256(ymm00, ymm01);
Expand Down

0 comments on commit 0d005fd

Please sign in to comment.