aboutsummaryrefslogtreecommitdiff
path: root/lib/Headers
AgeCommit message (Collapse)Author
2010-04-01Fix typo.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100079 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-01First start at wmmintrin.h file with Intel AES-NI instructions.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100077 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-26Fix 80 col violations.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99648 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-26This is just a simple v4si * v4si, make it so.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99587 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-24Make the license header in smmintrin.h match the other SSE headers.Anders Carlsson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99384 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-22fix PR6658: inline isn't a keyword in C89 mode, use __inline__ instead.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99190 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-20Add sse4.2 header and builtin support.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99051 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-20Add a newline at the end of the file.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99026 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-20For legacy compatibility add a varargs.h header.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99025 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-20Migrate typedefs to the top level of xmmintrin.h and remove the sameEric Christopher
one from emmintrin.h. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99020 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-15Add remaining sse4.1 intrinsics and builtins.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98587 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-12Add SSE4 packed integer comparisons and corresponding intrinsics.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98323 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-11Integer array extraction for sse4.1.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98305 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-11Add packed integer array insertion.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98299 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-10Add insert/extract_ps and related random macros.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98114 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-08Add preprocessor guards to the definitions of size_t and wchar_t, and #undef ↵Ted Kremenek
NULL before defining it. This addresses potential issues with system headers reported in <rdar://problem/7727159>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98006 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-08Place the definition of 'va_list' within a preprocessor guard. This matches ↵Ted Kremenek
the behavior of GCC, and avoids potential conflicts with system headers (e.g., stdio.h). Fixes <rdar://problem/7727145>. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98003 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Add sse4.1 packed min and max intrinsics.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97907 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Add load hint instruction intrinsic.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97904 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-07Add in support for dword multiply and fp dot product intrinsics.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97902 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-06Fix _MM_FROUND_NEARBYINT and move rounding intrinsics to macros.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97874 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-04First start on smmintrin.h, rounding and blending.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@97717 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-16add two aliases for SSE functions we already have, fixing PR6316.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@96363 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-01fix PR6187: various load functions in xmmintrin.h were missing 'const'.Chris Lattner
emmintrin looks ok. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94998 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-27fix a bug in the _MM_TRANSPOSE4_PS definition, patch by Brian Sumner fromChris Lattner
PR6138 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94669 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-07_mm_xor_ps does a xor not a nxor. The other 'xor' builtins look fine,Chris Lattner
but this one is wrong. Thanks to Tanya for noticing this. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92881 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-14Revert mmx palignr to use an intrinsic, since mmx shuffle patterns are missing.Nate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91269 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-14Support x86's PALIGNR instruction without the use of a palignr intrinsic.Nate Begeman
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91264 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-10minimal fix for PR5743Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91032 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-08Pick up MB_LEN_MAX as defined by the system <limits.h>, when it's provided thereDouglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90879 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-22Define SIG_ATOMIC_MIN and SIG_ATOMIC_MAX in terms of __SIG_ATOMIC_WIDTH__.Ken Dyck
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89598 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-20Avoid unwanted expansion in macros that paste together INT<n>_C(v) and Ken Dyck
UINT<n>_C(v) macros. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89461 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-20Avoid unwanted expansion in macros that paste together INT<n>_MIN, INT<n>_MAX,Ken Dyck
and UINT<n>_MAX defintions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89460 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-20Avoid unwanted macro expansion in macros that paste together int<n>_t andKen Dyck
uint<n>_t definitions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89459 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-19Define WCHAR_MIN and WCHAR_MAX in terms of __WCHAR_WIDTH__ for consistency withKen Dyck
other limit macros. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89355 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-19Parameterize WINT_MIN and WINT_MAX with __WINT_WIDTH__ to support arbitrary Ken Dyck
widths. This corrects the values of these definitions for MSP430 and PIC16. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89350 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-19Construct definition of SIZE_MAX from __SIZE_WIDTH__ to support targets ofKen Dyck
arbitrary widths. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89347 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-19Construct the macro body of PTRDIFF_MAX and PTRDIFF_MIN from __PTRDIFF_WIDTH__.Ken Dyck
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89343 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-18Construct INTPTR_MIN, INTPTR_MAX, and UINTPTR_MAX from the exact-width limitKen Dyck
macros corresponding to __INTPTR_WIDTH__. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89239 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-18Define intptr_t and uintptr_t in terms of their equivalent exact-width types.Ken Dyck
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89237 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-18Define INTMAX_C and UINTMAX_C in terms of the corresponding exact-widthKen Dyck
INTn_C and UINTn_C macros. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89226 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-18Define INTMAX_MIN, INTMAX_MAX, and UINTMAX_MAX in terms of the limit macros forKen Dyck
their corresponding exact-width type. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89224 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-18Define intmax_t and uintmax_t as the [u]intN_t type corresponding toKen Dyck
__INTMAX_WIDTH__. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89221 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-17Replace (-INT8_C(128)), which uses an illegally out-of-range argument forKen Dyck
INT8_C, with (-INT8_C(127)-1) in the definition of INT8_MIN. Apply similar changes to the definitions of INT16_MIN and INT24_MIN. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89120 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-17Use the INTn_C integer constant macros to generate limit constants with correctKen Dyck
suffixes. This corrects the suffixes for the limit constants of the 32-bit types on MSP430 and PIC16, and the 64-bit types on PPC64, SystemZ, X86_64. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89101 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-17Remove unnecessary parens around the bodies of integer constant macros. C99Ken Dyck
requires that their arguments be decimal, hex, octal constants---no signs allowed---making the parens unnecessary. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89095 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-16Parameterize the constant-generating macros in stdint.h with new built-inKen Dyck
__INTn_C_SUFFIX__ macros that are defined for types with corresponding constant suffixes (i.e. long and long long). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88914 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-12Generalize stdint.h for non-8-bit-multiple types, patch by Chris Lattner
Ken Dyck! "This adds definitions for types of 8-bit multiples from 8 to 64 to stdint.h and rationalizes the selection of types for the exact-width definitions in InitPreprocessor.cpp." git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86977 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-04A simple reordering of the definitions in stdint.h and Chris Lattner
introduces no new function changes. Patch by Ken Dyck! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86062 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-02Added __has_include and __has_include_next.John Thompson
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85834 91177308-0d34-0410-b5e6-96231b3b80d8