3 ms·
It's still doing it, but now it uses `lahf` + `sahf` instead to (re)store the flags. These are better than pushf + popf for sure, but they cannot be used in gen
by pbsd 8y ago
It's still doing it, but now it uses `lahf` + `sahf` instead to (re)store the flags. These are better than pushf + popf for sure, but they cannot be used in general code because some early x86_64 chips forgot to implement them.
- deaddodo 8y agoIf your general code is only intended to be used on newer versions of Windows, you can. Windows has required it since 8.1.