summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/adc-builtins.c
Commit message (Collapse)AuthorAgeFilesLines
* [X86] Remove the addcarry builtins. Leaving only the addcarryx builtins ↵Craig Topper2018-12-101-4/+4
| | | | | | | | | | since that matches gcc. The addcarry and addcarryx builtins do the same thing. The only difference is that addcarryx previously required adx feature. This commit removes the adx feature check from addcarryx and removes the addcarry builtin. This matches the builtins that gcc has. We don't guarantee compatibility in builtins, but we generally try to be consistent if its not a burden. llvm-svn: 348738
* [X86] Modify addcarry/subborrow builtins to emit an 2 result and intrinsic ↵Craig Topper2018-09-071-4/+16
| | | | | | | | | | and an store instruction. This is the clang side of D51769. The llvm intrinsics now return two results instead of using an out parameter. Differential Revision: https://reviews.llvm.org/D51771 llvm-svn: 341678
* [X86] Use -ffreestanding instead of using the mm_malloc.h include guard hack ↵Craig Topper2017-10-121-3/+1
| | | | | | on more of the builtin tests. llvm-svn: 315594
* Fixing PR26558: remove the adx target attribute requirement from adc builtins.Yunzhong Gao2016-03-291-1/+1
| | | | | | | | | The addcarry and subborrow variants of the builtins do not require the adx target attribute; only the addcarryx variants require them. Differential Revision: http://reviews.llvm.org/D18533 llvm-svn: 264801
* Add the minimum target features that these tests depend upon.Eric Christopher2015-10-151-1/+1
| | | | llvm-svn: 250448
* Move the adc-builtins test to the pattern of the other builtinsEric Christopher2015-10-131-1/+3
| | | | | | tests by predefining _MM_MALLOC_H rather than use -ffreestanding. llvm-svn: 250203
* [x86] Fixed argument types in intrinsics:Robert Khasanov2014-09-241-5/+7
| | | | | | | | | | _addcarryx_u64 _addcarry_u64 _subborrow_u64 Thanks Pasi Parviainen for notice. llvm-svn: 218376
* [x86] Add _addcarry_u{32|64} and _subborrow_u{32|64}.Robert Khasanov2014-09-191-0/+31
They are added to adxintrin.h but outside __ADX__ block. These intrinics generates adc and sbb correspondingly that were available before ADX llvm-svn: 218118
OpenPOWER on IntegriCloud