If I'm correct, there is no native assembly function to calculate -x from a float value x stored in an Xmm register. So, what is the best (i.e., fastest) way to do that?
Of course, I could do 0 - x or -1 * x, but that seems overly laborious. Since a float stores a single "sign" bit, it should be simpler (and more efficient?) to just flip that bit. Is that so? And how would that work?
(If there's an essential difference between single and double precision, please elaborate.)