summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/x86_32-xsave.c
Commit message (Collapse)AuthorAgeFilesLines
* Recommit r351160 "[X86] Make _xgetbv/_xsetbv on non-windows platforms"Craig Topper2019-01-161-2/+52
| | | | | | V8 has been fixed now. llvm-svn: 351391
* Revert "[X86] Make _xgetbv/_xsetbv on non-windows platforms"Benjamin Kramer2019-01-151-52/+2
| | | | | | This reverts commit r351160. Breaks building v8. llvm-svn: 351210
* [X86] Make _xgetbv/_xsetbv on non-windows platformsCraig Topper2019-01-151-2/+52
| | | | | | | | | | | | | | | | | | | | | | | Summary: This patch attempts to redo what was tried in r278783, but was reverted. These intrinsics should be available on non-windows platforms with "xsave" feature check. But on Windows platforms they shouldn't have feature check since that's how MSVC behaves. To accomplish this I've added a MS builtin with no feature check. And a normal gcc builtin with a feature check. When _MSC_VER is not defined _xgetbv/_xsetbv will be macros pointing to the gcc builtin name. I've moved the forward declarations from intrin.h to immintrin.h to match the MSDN documentation and used that as the header file for the MS builtin. I'm not super happy with this implementation, and I'm open to suggestions for better ways to do it. Reviewers: rnk, RKSimon, spatel Reviewed By: rnk Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D56686 llvm-svn: 351160
* Fixing incorrectly capitalised regexps.Benjamin Kramer2017-09-071-30/+30
| | | | | | Patch by Sam Allen! llvm-svn: 312710
* Revert "[X86] Add xgetbv/x[X86] Add xgetbv xsetbv intrinsics to non-windows ↵Reid Kleckner2016-08-161-53/+3
| | | | | | | | platforms" This reverts commit r278783. It breaks usage of _xgetbv on Windows. llvm-svn: 278814
* [X86] Add xgetbv/x[X86] Add xgetbv xsetbv intrinsics to non-windows platformsMarina Yatsina2016-08-161-3/+53
| | | | | | | | commit on behalf of guyblank Differential Revision: https://reviews.llvm.org/D21959 llvm-svn: 278783
* After PR28761 use -Wall with -Werror in builtins tests to identifyEric Christopher2016-08-041-10/+10
| | | | | | possible problems in headers. llvm-svn: 277696
* Fix several accidental DOS line endings in source filesDimitry Andric2016-01-031-72/+72
| | | | | | | | | | | | | | | Summary: There are a number of files in the tree which have been accidentally checked in with DOS line endings. Convert these to native line endings. There are also a few files which have DOS line endings on purpose, and I have set the svn:eol-style property to 'CRLF' on those. Reviewers: joerg, aaron.ballman Subscribers: aaron.ballman, cfe-commits Differential Revision: http://reviews.llvm.org/D15849 llvm-svn: 256704
* The target-feature command line option doesn't take a comma delimitedEric Christopher2015-10-151-6/+6
| | | | | | string, so split them into multiple options. llvm-svn: 250449
* [X86] Add XSAVE intrinsic familyAmjad Aboud2015-10-131-0/+72
Add intrinsics for the XSAVE instructions (XSAVE/XSAVE64/XRSTOR/XRSTOR64) XSAVEOPT instructions (XSAVEOPT/XSAVEOPT64) XSAVEC instructions (XSAVEC/XSAVEC64) XSAVES instructions (XSAVES/XSAVES64/XRSTORS/XRSTORS64) Differential Revision: http://reviews.llvm.org/D13014 llvm-svn: 250158
OpenPOWER on IntegriCloud