Skip to content

Commit

Permalink
Update unaryop_loongarch.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Jun 24, 2023
1 parent a68289a commit 97f6ef0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/loongarch/unaryop_loongarch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ struct unary_op_trunc
#if __loongarch_sx
__m128 func_pack4(const __m128& x) const
{
return (__m128)__lsx_vftintrz_w_s(x);
return (__m128)__lsx_vfrintrz_s(x);
}
#endif // __loongarch_sx
};
Expand Down

0 comments on commit 97f6ef0

Please sign in to comment.