Skip to content

Commit

Permalink
cpplint fix 3
Browse files Browse the repository at this point in the history
  • Loading branch information
wangzhen38 committed Jun 21, 2022
1 parent 1eef597 commit f458a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/phi/kernels/funcs/detail/avx_mathfun.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ v8sf log256_ps(v8sf x) {

// this is again another AVX2 instruction
imm0 = avx2_mm256_sub_epi32(imm0,
*reinterpret_cast<const v8sf *>(_pi32_256_0x7f));
*reinterpret_cast<const v8si *>(_pi32_256_0x7f));
v8sf e = _mm256_cvtepi32_ps(imm0);

e = _mm256_add_ps(e, one);
Expand Down Expand Up @@ -457,7 +457,7 @@ v8sf sin256_ps(v8sf x) { // any x

/* Evaluate the second polynom (Pi/4 <= x <= 0) */

v8sf y2 = *reinterpret_cast<const v8sf *> _ps256_sincof_p0;
v8sf y2 = *reinterpret_cast<const v8sf *>(_ps256_sincof_p0);
y2 = _mm256_mul_ps(y2, z);
y2 = _mm256_add_ps(y2, *reinterpret_cast<const v8sf *>(_ps256_sincof_p1));
y2 = _mm256_mul_ps(y2, z);
Expand Down

1 comment on commit f458a3a

@paddle-bot-old
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulation! Your pull request passed all required CI. You could ask reviewer(s) to approve and merge. 🎉

Please sign in to comment.