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
Does this access memory out of bounds? I am pretty sure this code would:
b.copy_from(a, stdx::element_aligned);
But I would expect the former to do a maskload such that it doesn't touch the shadow 4th element?
If this is UB, is there any good way to load a partial SIMD from a contiguous region safely? This would be very valuable for iterating over for example a std::vector of length that is not necessarily divisible by the vector block size
Actual Results
Expected Results
The text was updated successfully, but these errors were encountered:
Testcase
Does this access memory out of bounds? I am pretty sure this code would:
But I would expect the former to do a
maskload
such that it doesn't touch the shadow 4th element?If this is UB, is there any good way to load a partial SIMD from a contiguous region safely? This would be very valuable for iterating over for example a std::vector of length that is not necessarily divisible by the vector block size
Actual Results
Expected Results
The text was updated successfully, but these errors were encountered: