summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-08-05 23:34:44 +0000
committerCraig Topper <craig.topper@intel.com>2017-08-05 23:34:44 +0000
commit6bfa2aee78785d340ac185a30c666d22130fe018 (patch)
treef45f618d0eeea5f581c761643ca534d2dc486d61 /clang
parent6b78bac9fb547a215caf787d86564004e89b9bba (diff)
downloadbcm5719-llvm-6bfa2aee78785d340ac185a30c666d22130fe018.tar.gz
bcm5719-llvm-6bfa2aee78785d340ac185a30c666d22130fe018.zip
[X86] Enable isel to use the PAUSE instruction even when SSE2 is disabled
Summary: On older processors this instruction encoding is treated as a NOP. MSVC doesn't disable intrinsics based on features the way clang/gcc does. Because the PAUSE instruction encoding doesn't crash older processors, some software out there uses these intrinsics without checking for SSE2. This change also seems to also be consistent with gcc behavior. Fixes PR34079 Reviewers: RKSimon, zvi Reviewed By: RKSimon Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D36361 llvm-svn: 310190
Diffstat (limited to 'clang')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud