1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 15:53:03 +04:00

Fix v_signmask for RISC-V Vector.

This commit is contained in:
HAN Liutong
2022-09-23 11:28:50 +00:00
parent 04ebedb6f0
commit df24bd295d
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -1081,6 +1081,7 @@ template<typename R> struct TheTest
typedef typename VTraits<uint_reg>::lane_type uint_type;
Data<R> dataA, dataB(0), dataC, dataD(1), dataE(2);
dataA[0] = std::numeric_limits<int_type>::max();
dataA[1] *= (LaneType)-1;
union
{