pulp-platform / ara

The PULP Ara is a 64-bit Vector Unit, compatible with the RISC-V Vector Extension Version 1.0, working as a coprocessor to CORE-V's CVA6 core
Other
349 stars 123 forks source link

Question of vwadd instruction #327

Open AD738560581 opened 1 month ago

AD738560581 commented 1 month ago

Hello, there is a question of vwadd intruction of SEW. for example, There is a series of instructions here as follows: VSET(8,e8, m1); VLOAD_8(v2, ...); VLOAD_8(v4, ...); vwadd.wv v6, v2, v4; I observed that ara will reshuffle v2 and then execute the vwadd command, which can be compared with Spike. However, if the vwadd.wv v6, v2, v4 instruction is replaced with vwadd.wv v6, v2, v2, because vs1==vs2, reshuffling will not be possible. This will cause the spike comparison to fail.,is this an issue with ARA?

mp-17 commented 1 month ago

I think this is a bug in Ara. Thanks a lot for reporting it!