summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/tbm-builtins.c
Commit message (Collapse)AuthorAgeFilesLines
* [X86] Add guards to some of the x86 intrinsic tests to skip 64-bit mode only ↵Craig Topper2019-07-101-0/+20
| | | | | | | | | | intrinsics when compiled for 32-bit mode. All the command lines are for 64-bit mode, but sometimes I compile the tests in 32-bit mode to see what assembly we get and we need to skip these to do that. llvm-svn: 365668
* [X86] Remove -O3 from tbm-builtins.c test file.Craig Topper2017-07-311-49/+47
| | | | | | A change to InstCombine broke this test, but we generally frown on running optimizations clang tests anyway. So I've updated the checks to not depend on optimizations anymore. llvm-svn: 309616
* [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
* [X86][TBM] Refreshed builtin tests ready for creation of llvm fast-isel testsSimon Pilgrim2016-06-181-3/+26
| | | | llvm-svn: 273086
* Make tbm-builtins.c as X86 specific unit testSumanth Gundapaneni2015-11-231-0/+2
| | | | | | Differential Revision: http://reviews.llvm.org/D14887 llvm-svn: 253887
* Canonicalize some of the x86 builtin tests and either remove or commentEric Christopher2015-10-141-0/+1
| | | | | | about optimization options. llvm-svn: 250271
* Use logical/arithmetic operations instead of builtins in tbmintrin.h. This ↵Craig Topper2013-10-051-19/+45
| | | | | | way we can remove the intrinsic support from the backend. llvm-svn: 192036
* Change __builtin_ia32_bextri_u64 to take an i64imm to match up with LLVM ↵Craig Topper2013-10-031-0/+5
| | | | | | | | | | backend changes. An explicit cast is still needed in tbmintrin.h to convert any big integer down to i32imm. Patch from Yunzhong Gao. llvm-svn: 191872
* Adding intrinsics to the clang front end for the x86 TBM instruction set.Yunzhong Gao2013-09-301-0/+106
Differential Revision: http://llvm-reviews.chandlerc.com/D1751 llvm-svn: 191681
OpenPOWER on IntegriCloud