On Mon, Jan 9, 2012 at 11:02 PM, John-Mark Gurney <j...@funkthat.com> wrote:
> Last time I did benchmarking on this ~10 years ago, it was slower to
> use xor instead of using assignments...

I'd be shocked if the compiler didn't optimize this away to an XCHG.

-- 
Eitan Adler
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to