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
When WANT_BUG is 0 everything works as expected.
When WANT_BUG is 1 result of rng.Fill is dropped, consequently result is undefined garbage.
Compare disassembly of nevermind::N_SVE2_128::BugCore(unsigned int, unsigned long); when WANT_BUG is 0 it is 3 instructions longer; 2 of those are calculating the result (add z4.d, z2.d, z3.d) and storing it (st1d {z4.d}, p0, [x8]).
The text was updated successfully, but these errors were encountered:
When WANT_BUG is 0 everything works as expected.
When WANT_BUG is 1 result of rng.Fill is dropped, consequently result is undefined garbage.
Compare disassembly of nevermind::N_SVE2_128::BugCore(unsigned int, unsigned long); when WANT_BUG is 0 it is 3 instructions longer; 2 of those are calculating the result (add z4.d, z2.d, z3.d) and storing it (st1d {z4.d}, p0, [x8]).
Godbolt: https://godbolt.org/z/5cjfqh6K1
When
WANT_BUG
is0
everything works as expected.When
WANT_BUG
is1
result ofrng.Fill
is dropped, consequently result is undefined garbage.Compare disassembly of
nevermind::N_SVE2_128::BugCore(unsigned int, unsigned long)
; whenWANT_BUG
is0
it is 3 instructions longer; 2 of those are calculating the result (add z4.d, z2.d, z3.d
) and storing it (st1d {z4.d}, p0, [x8]
).The text was updated successfully, but these errors were encountered: