Commit Graph

35 Commits

Author SHA1 Message Date
Chris Lattner
1e5fb6928c add powi intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30176 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-08 06:43:00 +00:00
Chris Lattner
463b4e5f4c Fix an incorrect prototype for this intrinsic, fixing
CFrontend/2003-08-18-SigSetJmp.c  with llvm-gcc3.  This is part of PR733.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27670 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-13 18:23:48 +00:00
Chris Lattner
4b2362e247 Fix a typo: Instr* -> Intr*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27568 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-10 22:02:59 +00:00
Evan Cheng
f01cf60ed7 Added intrinsics to match __builtin_ia32_pslldqi128 and
__builtin_ia32_psrldqi128.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27411 91177308-0d34-0410-b5e6-96231b3b80d8
2006-04-04 21:48:31 +00:00
Chris Lattner
c9e0b1460b Reenable pointer intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27198 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-28 00:15:44 +00:00
Chris Lattner
0876f1c6a6 revert this, it breaks things
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27195 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-28 00:02:52 +00:00
Chris Lattner
f211600f3d Add support for intrinsics with pointer arguments in target .td files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27190 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-27 22:49:46 +00:00
Chris Lattner
3f01c30be7 Split the PPC and X86 intrinsics out to their own files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27141 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-26 02:37:19 +00:00
Chris Lattner
5617f82030 Add saturating subtracts, non-predicate compares, and some other random
intrinsics.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27140 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-26 02:34:07 +00:00
Chris Lattner
7344e1128a add int_ppc_altivec_vsldoi intrinsic
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27138 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-26 00:25:43 +00:00
Chris Lattner
5814c20766 remove extraneous lets
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27114 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 07:30:34 +00:00
Chris Lattner
64caa8c5cc Add a bunch of simple altivec intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27113 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 07:27:18 +00:00
Chris Lattner
ae5482618b Add support for __builtin_altivec_vnmsubfp
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27111 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 07:05:35 +00:00
Evan Cheng
2c8bb1f531 X86 SSE1 cacheability support ops intrinsics
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27104 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 06:05:45 +00:00
Evan Cheng
29e6ac620f X86 SSE1 SIMD store intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27099 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 02:02:51 +00:00
Evan Cheng
a30a316110 X86 SSE1 SIMD load intrinsics (movhps, movlps, and movups).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27098 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 01:58:54 +00:00
Evan Cheng
9abc80f6b3 X86 SSE1 conversion operations intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27097 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 01:35:17 +00:00
Evan Cheng
446848ed23 X86 SSE1 comparison intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27093 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 00:32:32 +00:00
Evan Cheng
af4398a281 X86 SSE1 arithmetic and logical operation intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27092 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-25 00:18:20 +00:00
Evan Cheng
11f0bd695a ldmxcsr is a SSE instruction.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27086 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 22:13:47 +00:00
Evan Cheng
96bcc109d3 Added ldmxcsr intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27085 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 22:10:59 +00:00
Chris Lattner
782651cffe Specify the value type for each llvm type. This needs work for pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27074 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 19:41:10 +00:00
Chris Lattner
ad72e241c0 Pull in valuetypes.td here, we will use it shortly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27072 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 18:51:56 +00:00
Chris Lattner
cf87e97b4f Add a couple simple intrinsics for intel. Fix the v2f64 definition.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27018 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-24 00:04:52 +00:00
Jim Laskey
c14897e673 Modify usage of llvm.dbg intrinsics.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26986 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-23 18:04:18 +00:00
Chris Lattner
8ed32f6f8e minor changes so that GCC builtin can be specified before the Intrinsic info,
add some more PPC intrinsics.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26786 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-15 19:23:40 +00:00
Chris Lattner
dfdcd5bb95 Set TargetPrefix on target-specific intrinsics. That way, in theory, different
targets could have different implemenations of a __builtin_foo gcc intrinsic.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26769 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-15 01:32:36 +00:00
Chris Lattner
840064e605 Fix the gcread/gcwrite intrinsic specifications, fixing
CodeGen/Generic/GC/alloc_loop.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26765 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-14 20:00:20 +00:00
Chris Lattner
8ae7a3315f Add a first ppc altivec intrinsic. Add packed type support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26734 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-13 22:38:32 +00:00
Jim Laskey
f4321a3a43 Handle the removal of the debug chain.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26729 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-13 13:07:37 +00:00
Chris Lattner
aaf1582549 Mark llvm.stacksave as only reading memory, this fixes
Regression/Transforms/InstCombine/stacksaverestore.ll


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26715 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-12 00:04:28 +00:00
Chris Lattner
969ccf82d0 Fix another broken intrinsic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26696 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-10 18:01:03 +00:00
Chris Lattner
5d832dc330 Fix incorrect definitions of these intrinsics, which broke a bunch of
stuff last night.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26694 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-10 17:48:34 +00:00
Chris Lattner
d144a24d3d Fix an incorrect intrinsic description
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26677 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-10 04:17:06 +00:00
Chris Lattner
b253400ca9 initial checkin of the intrinsic description file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26496 91177308-0d34-0410-b5e6-96231b3b80d8
2006-03-03 02:33:15 +00:00