Lokathor/safe_arch

improve Neg for m128

Closed this issue · 1 comments

It was suggested that we don't use a const, and instead make a zeroed register and compare it to itself to get the all 1s reg.

needs godbolt

Seems like using a const is just fine, https://rust.godbolt.org/z/9ckZoP but it was good that we checked.