summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/change-namespace/ChangeNamespace.cpp
diff options
context:
space:
mode:
authorValentina Giusti <valentina.giusti@intel.com>2016-09-21 13:33:01 +0000
committerValentina Giusti <valentina.giusti@intel.com>2016-09-21 13:33:01 +0000
commit58db5bb20e7d1c545b3d8c90763e10794d3749ec (patch)
treecc501af080be2a4f56c15e50355b34e3b872a81b /clang-tools-extra/change-namespace/ChangeNamespace.cpp
parentf7c76f91e0ddacff5fddd799358d311e97ab4331 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud