krytarowski added a comment.

I want to support x86 CPUs in 32-bit mode starting from 486. At least to read 
core dumps.
This is the current bare minimum and tested setup by the releng team in NetBSD.

OpenBSD used to support 80386 with MMU, but not sure if this is still true 
after migration to Clang.

I've already implemented FPU checks in the existing code:

- fpu_present (currently always on)
- osfxsr
- sse
- sse2
- fpu_save (fsave, fxsave, xsave, xsaveopt)
- fpu_save_sze
- xsave_features

Maybe reuse FPR for FXSAVE/FSAVE and add next to it XSAVE/XSAVE_OPT.

On NetBSD/i386 FPR registers are for FSAVE through GET_FPREGS/SET_FPREGS.


https://reviews.llvm.org/D41245



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

Reply via email to