summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/rtm-builtins.c
Commit message (Collapse)AuthorAgeFilesLines
* [X86] Remove the mm_malloc.h include guard hack from the X86 builtins testsElad Cohen2016-09-281-3/+1
| | | | | | | | | | | | The X86 clang/test/CodeGen/*builtins.c tests define the mm_malloc.h include guard as a hack for avoiding its inclusion (mm_malloc.h requires a hosted environment since it expects stdlib.h to be available - which is not the case in these internal clang codegen tests). This patch removes this hack and instead passes -ffreestanding to clang cc1. Differential Revision: https://reviews.llvm.org/D24825 llvm-svn: 282581
* Canonicalize some of the x86 builtin tests and either remove or commentEric Christopher2015-10-141-1/+1
| | | | | | about optimization options. llvm-svn: 250271
* Add XTEST intrinsic defined in TSX extensionMichael Liao2013-03-291-0/+5
| | | | llvm-svn: 178330
* Add clang support of RTM from TSXMichael Liao2012-11-101-0/+23
- New options '-mrtm'/'-mno-rtm' are added to enable/disable RTM feature - Builtin macro '__RTM__' is defined if RTM feature is enabled - RTM intrinsic header is added and introduces 3 new intrinsics, namely '_xbegin', '_xend', and '_xabort'. - 3 new builtins are added to keep compatible with gcc, namely '__builtin_ia32_xbegin', '__builtin_ia32_xend', and '__builtin_ia32_xabort'. - Test cases for pre-defined macro and new intrinsic codegen are added. llvm-svn: 167665
OpenPOWER on IntegriCloud