Skip to content

Commit 82e1c2a

Browse files
committed
vector fix
1 parent b05e792 commit 82e1c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sim/simx/vec_unit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ class VecUnit::Impl {
531531
uint32_t rsrc0 = instr.getSrcReg(0).idx;
532532
uint32_t rsrc1 = instr.getSrcReg(1).idx;
533533

534-
VpuOpType vpu_op;
534+
VpuOpType vpu_op = VpuOpType::ARITH;
535535

536536
auto vop_type = std::get<VopType>(op_type);
537537
auto vopArgs = std::get<IntrVopArgs>(instrArgs);

0 commit comments

Comments
 (0)