aboutsummaryrefslogtreecommitdiff
path: root/lib/Headers
AgeCommit message (Collapse)Author
2010-08-12first test commitAnton Yartsev
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110941 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-11Fix define inserting a comma :)Bruno Cardoso Lopes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110839 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-11Remove 256-bit cast built-ins and make the AVX intrinsic call llvm ↵Bruno Cardoso Lopes
__builtin_shufflevector with the appropriate arguments git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110771 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-11Remove 256-bit unpack built-ins and make the AVX intrinsic call llvm ↵Bruno Cardoso Lopes
__builtin_shufflevector with the appropriate arguments git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110768 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-11Remove 256-bit shuffle built-ins and make the AVX intrinsic call llvm ↵Bruno Cardoso Lopes
__builtin_shufflevector with the appropriate arguments git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110766 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-10Make replicate intrinsics use shufflevector instead of dup builtins, also ↵Bruno Cardoso Lopes
remove the dup builtins git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110646 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-08Fix a few more typos. Amusingly, GCC made the same mistake around version 3.2.Chandler Carruth
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110546 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-08Fix some typos I made when adding alternate intrinsic names.Chandler Carruth
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110545 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-05Fix AVX 256-bit intrinsics headers by using the right cast type while ↵Bruno Cardoso Lopes
dealing with logical ops git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110389 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-04Logical AVX instrinsics can be matched directly, no need to use builtins here.Bruno Cardoso Lopes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110271 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-04Add AVX intrinsics headerBruno Cardoso Lopes
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110253 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-03add a hack for visual studio, fixing PR7796Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@110161 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-22Add alternate names for x86 SIMD intrinsics. These aren't as common, but showChandler Carruth
up enough to be worth supporting properly. Fixes PR7674. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109086 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-22build: Make sure arm_neon.h gets installed.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109073 91177308-0d34-0410-b5e6-96231b3b80d8
2010-07-08PR7588: Fix the _mm_shufflehi_epi16 macro. (The issue was an oversightEli Friedman
involving operator precedence.) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107902 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-30Headers: Change [u]intmax_t to be defined in terms of __[U]INTMAX_TYPE__, ↵Daniel Dunbar
instead of intN_t. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107254 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-26Add a missing dependency to try to fix a buildbot failure.Bob Wilson
It complained with: llvm[5]: Building Clang arm_neon.h.inc with tblgen cp: cannot create regular file `/build/buildbot-llvm/clang-x86_64-linux-selfhost-rel/llvm.obj.2/Release/lib/clang/2.0/include/arm_neon.h': No such file or directory git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106922 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-25build: Get CLANG_VERSION from Version.inc instead of depending on VER file ↵Daniel Dunbar
directly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106864 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-19More AltiVec support.Anton Korobeynikov
Patch by Anton Yartsev! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106387 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-17Update CMake build system for ARM NEON generation.Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106220 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-17Generate arm_neon.inc in include/clang/Basic, which provides:Nate Begeman
1. builtins definitions for BuiltinsARM.def 2. intrinsic validation code for SemaChecking Unsure as to whether this is the best way to handle the make dependencies or not. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106208 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-15MinGW requires that wint_t be defined in stddef.h. In order to accomodate, weSean Hunt
won't define it unless specifically requested via the use of __need_wint_t. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105985 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-14Add some missing shiftsNate Begeman
Fix multiplies by scalar Add SemaChecking code for all immediates Add SemaChecking-gen support to arm_neon.td git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105930 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-12vbsl, vrev* is implemented via arm_neon.hNate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105875 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-10support _lane ops, and multiplies by scalar.Nate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105770 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-09Implement codegen for hadd, hsub, max, min, mlal, movl, movn, padal, mov_nNate Begeman
Make note about how to handle the dozen or so multiply by scalar ops. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105734 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-09Implement transpose/zip/unzip & table lookup.Nate Begeman
Test out some basic constant-checking. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105667 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-08Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.Daniel Dunbar
- This eliminates most dependencies on how Clang is installed relative to LLVM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105637 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-08Implement ARM NEON up through vcvt, alphabetically.Nate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105590 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-04Initial support for ARM NEON builtins, codegen up nextNate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105489 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-03Classify NEON intrinsics by overloading-type for codegenNate Begeman
Add a few missing instructions git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105417 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-02Headers: Fix quoting of macro arguments in a couple more places.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105331 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-02Fix vget_lane/vset_laneNate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105317 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-02Checkpoint arm_neon.h generation with tablegenNate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105306 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-30Make macro safe in the face of users who pass "addr+64". Addition of void* isNick Lewycky
invalid. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105172 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-28Implement remaining items in neon td file. Still need to modify emitter to ↵Nate Begeman
generate a proper header. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105058 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-28Add CMake goop to get arm_neon.h generatedDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104934 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-28Convert arm_neon.h into arm_neon.td, from which arm_neon.h will be builtNate Begeman
Add Makefile support for building arm_neon.h from arm_neon.td Need to figure out an appropriate cmake rule for this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104928 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-15fix _mm_shuffle_pd too, thanks to Joel Falcou for pointing this out.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103873 91177308-0d34-0410-b5e6-96231b3b80d8
2010-05-15add type casts to _mm_shuffle_ps so the front-end appliesChris Lattner
implicit conversions where needed. This fixes an error reported on cfe-dev, not really worth a testcase though. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103864 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-30logical ops, unary ops, pairwise opsNate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102681 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-29Comparisons.Nate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102669 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-29Start stamping out the __builtin_neon stuff.Nate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102638 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-28A bit more neon work, adds work (but the ABI is wrong), types mostly stamped ↵Nate Begeman
out. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102549 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-28Stub out NEON support, more to come.Nate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102512 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-24Headers: Hide intptr_t and uintptr_t definitions behind _INTPTR_T and _UINTPTR_TDaniel Dunbar
defines, for increased compatibility with Darwin gcc. - This is a bit of a hack, since platform compatibility issues don't belong here, but I don't think this hurts anyone either. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102264 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-15Rewrite handling of 64-bit palignr intrinsics to be vector shuffles.Eric Christopher
Stop multiplying constant by 8 accordingly in the header and change intrinsic definition for what types we expect. Add to existing palignr test to check that we're emitting the correct things. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101332 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-14improve altivec c++ support by adding casts, patch byChris Lattner
Anton Yartsev! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101281 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-14implement altivec.h and a bunch of support code, patch by Anton Yartsev!Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@101215 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-07rename llvm::llvm_report_error -> llvm::report_fatal_errorChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100708 91177308-0d34-0410-b5e6-96231b3b80d8