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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user