Skip to content

Commit

Permalink
equality_uni_xxx_for_sse_and_avx
Browse files Browse the repository at this point in the history
  • Loading branch information
chenhu-wang authored and dmitry-gorokhov committed Apr 5, 2022
1 parent 5ac2a40 commit 0e9d926
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cpu/x64/jit_generator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ class jit_generator : public Xbyak::CodeGenerator, public c_compatible {
if (is_valid_isa(avx))
vaddps(x, op1, op2);
else {
assert(x.getIdx() == op1.getIdx());
if (!x.isEqualIfNotInherited(op1)) movups(x, op1);
addps(x, op2);
}
}
Expand Down Expand Up @@ -732,7 +732,7 @@ class jit_generator : public Xbyak::CodeGenerator, public c_compatible {
if (is_valid_isa(avx))
vsubps(x, op1, op2);
else {
assert(x.isEqualIfNotInherited(op1));
if (!x.isEqualIfNotInherited(op1)) movups(x, op1);
subps(x, op2);
}
}
Expand Down

0 comments on commit 0e9d926

Please sign in to comment.