labath added a comment.

In D88583#2305815 <https://reviews.llvm.org/D88583#2305815>, @mgorny wrote:

> Fixed segfault when built with GCC and fixed my poor attempt to run FXSAVE 
> with REX.W prefix. Now it correctly gets 64-bit FIP and FDP, though it's 
> unclear whether the apparent truncation is a bug in LLDB writing it or some 
> other kind of limitation.

I think that could be an architectural cpu limitation. IIUC, even though the 
addresses are nominally 64-bit, not all addresses within that space are 
actually usable -- only the topmost and bottommost XX GB (TB) of the address 
space are. It could be that the cpu does not actually store all of the bits of 
these registers, but rather just sign-extends the most significant usable bit.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88583/new/

https://reviews.llvm.org/D88583

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to