diff options
| author | Valentina Giusti <valentina.giusti@intel.com> | 2016-09-21 13:33:01 +0000 |
|---|---|---|
| committer | Valentina Giusti <valentina.giusti@intel.com> | 2016-09-21 13:33:01 +0000 |
| commit | 58db5bb20e7d1c545b3d8c90763e10794d3749ec (patch) | |
| tree | cc501af080be2a4f56c15e50355b34e3b872a81b /clang-tools-extra/change-namespace/ChangeNamespace.cpp | |
| parent | f7c76f91e0ddacff5fddd799358d311e97ab4331 (diff) | |
| download | bcm5719-llvm-58db5bb20e7d1c545b3d8c90763e10794d3749ec.tar.gz bcm5719-llvm-58db5bb20e7d1c545b3d8c90763e10794d3749ec.zip | |
Refactor NativeRegisterContextLinux_x86_64 code.
This patch refactors the way the XState type is checked and, in order to
simplify the code, it removes the usage of the 'cpuid' instruction: just checking
if the ptrace calls done throuhg ReadFPR is enough to verify both if there is
HW support and if there is kernel support. Also the XCR0 bits are enough to check if
there is both HW and kernel support for AVX and MPX.
Differential Revision: https://reviews.llvm.org/D24764
llvm-svn: 282072
Diffstat (limited to 'clang-tools-extra/change-namespace/ChangeNamespace.cpp')
0 files changed, 0 insertions, 0 deletions

