diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2017-04-26 07:10:13 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-04-26 07:10:13 -0700 |
commit | 8b1595b74c943b33fa794e63e440e6f4c9679478 (patch) | |
tree | 3cfe07eef3814122e00ffee6b8ad8cdc93b864ed /src/pal/src/arch | |
parent | a5a8c6cdc6e3b732fc5a344878b165f149d99729 (diff) | |
download | coreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.tar.gz coreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.tar.bz2 coreclr-8b1595b74c943b33fa794e63e440e6f4c9679478.zip |
Enable build with clang 4.0 (#11226)
This change enables build with clang 4.0 and fixes a bunch of new errors that
the stricter compiler was reporting.
Diffstat (limited to 'src/pal/src/arch')
-rw-r--r-- | src/pal/src/arch/amd64/processor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/arch/amd64/processor.cpp b/src/pal/src/arch/amd64/processor.cpp index 298d685c98..0ab7992286 100644 --- a/src/pal/src/arch/amd64/processor.cpp +++ b/src/pal/src/arch/amd64/processor.cpp @@ -65,7 +65,7 @@ extern "C" unsigned int XmmYmmStateSupport() "end:\n" \ : "=a"(eax) /* output in eax */ \ : /* no inputs */ \ - : "eax", "ebx", "ecx", "edx" /* registers that are clobbered */ + : "ebx", "ecx", "edx" /* registers that are clobbered */ ); // Check OS has enabled both XMM and YMM state support return ((eax & 0x06) == 0x06) ? 1 : 0; |