Ekaterina Romanova
5a7f09c5af
Clean up: remove trailing spaces in x86 intrinsic headers.
...
Differential Revision: http://reviews.llvm.org/D20614
llvm-svn: 271077
2016-05-28 00:18:59 +00:00
Craig Topper
f2e67a03fe
[AVX512] Add parentheses around macro arguments in AVX512VLDQ intrinsics. Remove leading underscores from macro argument names. Add explicit typecasts to all macro arguments and return values. And finally reformat after all the adjustments.
...
This is a mostly mechanical change accomplished with a script. I tried to split out any changes to the typecasts that already existed into separate commits.
llvm-svn: 269744
2016-05-17 04:41:46 +00:00
Michael Zuckerman
edc82fe3ef
[Clang][Builtin][AVX512]Adding intrinsics for vfpclass{sd|ss} vfpclass{pd|ps} instruction set
...
Differential Revision: http://reviews.llvm.org/D19476
llvm-svn: 267414
2016-04-25 14:48:23 +00:00
Michael Zuckerman
ef2979af50
[Clang][AVX512][BUILTIN] Adding intrinsics support to VEXTRACT{I|F} and VINSERT{I|F} instruction set
...
Differential Revision: http://reviews.llvm.org/D19097
llvm-svn: 266745
2016-04-19 15:18:23 +00:00
Michael Zuckerman
c2b6128a8f
[Clang][AVX512][Builtin] Adding support for VBROADCAST and VPBROADCASTB/W/D/Q instruction set
...
Differential Revision: http://reviews.llvm.org/D19012
llvm-svn: 266195
2016-04-13 12:58:01 +00:00
Michael Zuckerman
074edd7c1e
[Clang][AVX512][Builtin] Adding supporting to intrinsics of cvt{b|d|q}2mask{128|256|512} and cvtmask2{b|d|q}{128|256|512} instruction set.
...
Differential Revision: http://reviews.llvm.org/D19009
llvm-svn: 266188
2016-04-13 10:49:37 +00:00
Craig Topper
880f60b7b3
[X86] Header formatting fixes. NFC
...
llvm-svn: 252710
2015-11-11 08:00:39 +00:00
Sean Silva
e4c3760a9f
Clean up trailing whitespace in the builtin headers
...
llvm-svn: 247498
2015-09-12 02:55:19 +00:00
Asaf Badouh
73b639f650
[X86][AVX512VLDQ] add reduce/range/cvt intrinsics
...
add 128 & 256 width intrinsic versions of reduce/range and cvt i64 to FP and vice versa
Differential Revision: http://reviews.llvm.org/D11598
llvm-svn: 243848
2015-08-02 12:43:08 +00:00
Michael Kuperstein
e45af54cdb
[X86] Rename DEFAULT_FN_ATTR macro to __DEFAULT_FN_ATTR
...
llvm-svn: 241065
2015-06-30 13:36:19 +00:00
Eric Christopher
9fc7fb274e
Update the intel intrinsic headers to use the target attribute support.
...
This involved removing the conditional inclusion and replacing them
with target attributes matching the original conditional inclusion
and checks. The testcase update removes the macro checks for each
file and replaces them with usage of the __target__ attribute, e.g.:
int __attribute__((__target__(("sse3")))) foo(int a) {
_mm_mwait(0, 0);
return 4;
}
This usage does require the enclosing function have the requisite
__target__ attribute for inlining and code generation - also for
any macro intrinsic uses in the enclosing function. There's no change
for existing uses of the intrinsic headers.
llvm-svn: 239883
2015-06-17 07:09:32 +00:00
Eric Christopher
4d185168e9
Use a define for per-file function attributes for the Intel intrinsic headers.
...
This is a precursor to changing them to use the new target attribute
code.
llvm-svn: 239882
2015-06-17 07:09:20 +00:00
Elena Demikhovsky
e7d4c2e229
AVX-512: Added AVX-512 intrinsics and tests
...
by Asaf Badouh (asaf.badouh@intel.com )
llvm-svn: 236218
2015-04-30 09:24:29 +00:00