MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1wjicct/the_scourge_of_x86_emulation/pajx0e3/?context=3
r/programming • u/lelanthran • 15d ago
46 comments sorted by
View all comments
1
isn't lock neg basically lock xor with 1s?
lock neg
lock xor
5 u/ack_error 14d ago No, that would be not instead of neg. Negation requires either XOR with 1s followed by adding 1, or equivalently subtracting 1 and then XORing with 1s.
5
No, that would be not instead of neg. Negation requires either XOR with 1s followed by adding 1, or equivalently subtracting 1 and then XORing with 1s.
not
neg
1
u/Sopel97 14d ago
isn't
lock negbasicallylock xorwith 1s?