You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to Intel Manual, LAHF instruction is valid in 64-bit mode only if
CPUID.80000001H:ECX.LAHF-SAHF[bit 0] = 1.
So LAHF is not invalid in some processor, e.g. Intel(R) Xeon(R) CPU X5460.
On such processor, the dr_save_arith_flags generates bad instruction.
We got to find another way to save arith flags efficiently.
This was PR 249775. DR already checks for this and aborts with a fatal error on a
processor that does not support lahf/sahf. Since AFAIK only very early Intel 64-bit
chips (and maybe early AMD64) did not support lahf and sahf we saw adding full
support as very low priority.
From qin.zhao@gmail.com on July 29, 2009 14:26:14
According to Intel Manual, LAHF instruction is valid in 64-bit mode only if
CPUID.80000001H:ECX.LAHF-SAHF[bit 0] = 1.
So LAHF is not invalid in some processor, e.g. Intel(R) Xeon(R) CPU X5460.
On such processor, the dr_save_arith_flags generates bad instruction.
We got to find another way to save arith flags efficiently.
Original issue: http://code.google.com/p/dynamorio/issues/detail?id=181
The text was updated successfully, but these errors were encountered: