You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think code {sum[7], sum[7:1]} + r will not give correct results.
For example, if opa.w8 and opb.w8 equals to 0x80, the results is 0. However, I believe the real result should be 0x80.
In vector single-width averaging add and subtract instructions, it seems that the code of
vaadd
,vasubu
, andvasub
give wrong results.For
vaadd
:ara/hardware/src/lane/simd_alu.sv
Lines 186 to 196 in a9d8ed5
I think code
{sum[7], sum[7:1]} + r
will not give correct results.For example, if
opa.w8
andopb.w8
equals to0x80
, the results is0
. However, I believe the real result should be0x80
.For
vasub
andvasubu
:ara/hardware/src/lane/simd_alu.sv
Lines 322 to 332 in a9d8ed5
I believe that right shift
sub[7:0]
by 1 bit won't give correct results.Of course, maybe my understanding is not correct, if so, I hope you can point out my problem, thanks a lot!
The text was updated successfully, but these errors were encountered: