Thu, 12 Mar 2009 21:04:27 +0100 |
Tomas Lindquist Olsen |
Removed plain wrong note from ldc.conf.in, I never implemented that!
|
Thu, 12 Mar 2009 20:37:27 +0100 |
Tomas Lindquist Olsen |
- Updated to DMD frontend 1.041.
|
Thu, 12 Mar 2009 14:08:57 +0100 |
Frits van Bommel |
Use stringstream in asm generation instead of OutBuffer.
|
Thu, 12 Mar 2009 14:08:57 +0100 |
Frits van Bommel |
Clean up asm code a bit.
|
Thu, 12 Mar 2009 14:08:57 +0100 |
Frits van Bommel |
Fix an error in the ASM tables introduced by the recent fistp fixes.
|
Wed, 11 Mar 2009 19:04:51 +0100 |
Frits van Bommel |
Delete tango.patch, it has been applied in the Tango repository.
|
Wed, 11 Mar 2009 13:54:29 -0400 |
Kelly Wilson |
Logic error fix
|
Wed, 11 Mar 2009 12:13:41 -0400 |
Kelly Wilson |
Fix FS:4 problem for x32
|
Wed, 11 Mar 2009 09:16:41 -0600 |
Kelly Wilson |
Fix FS:4 miswrite due to earlier changes for a constant displacement
|
Wed, 11 Mar 2009 14:17:13 +0100 |
Frits van Bommel |
Add missing EBX clobber to CPUID asm instruction.
|
Wed, 11 Mar 2009 00:08:45 -0400 |
Kelly Wilson |
Change faulty offset for asm in Cache.d (ie. change "-20(%rbp)+4)" to
|
Tue, 10 Mar 2009 22:02:11 -0600 |
Kelly Wilson |
Change x64 asm in Cache.d from a positive offset from after rbp "-20(%rbp)+4" to before
|
Tue, 10 Mar 2009 20:40:22 -0400 |
Kelly Wilson |
Fix for x32 fmul/div/add/sub with no operands.
|
Tue, 10 Mar 2009 18:34:19 -0600 |
Kelly Wilson |
Fix for fmul/div/add/sub with no operands. Revert explicit ST0 definition since a typo
|
Wed, 11 Mar 2009 01:01:40 +0100 |
Frits van Bommel |
Merge
|
Tue, 10 Mar 2009 12:12:24 +0100 |
Frits van Bommel |
Make sure instantiations of template intrinsics are marked as intrinsics.
|
Tue, 10 Mar 2009 11:30:51 +0100 |
Frits van Bommel |
Move "invalid intrinsic name" error to declaration, not instantiation.
|
Tue, 10 Mar 2009 13:59:50 -0400 |
Kelly Wilson |
fix fistp properly for x32
|
Tue, 10 Mar 2009 11:08:35 -0600 |
Kelly Wilson |
Merging
|
Tue, 10 Mar 2009 11:06:38 -0600 |
Kelly Wilson |
Properly fix fistp for x64
|
Tue, 10 Mar 2009 09:13:13 -0400 |
notroot |
Fix 32bit version of "jle short Label;" for 'short' or 'long'.
|
Tue, 10 Mar 2009 06:23:26 -0600 |
Kelly Wilson |
Fix for dual operand form of fistp, also make reg ST(0) explicit and fix lindquists
|
Tue, 10 Mar 2009 10:46:15 +0100 |
Frits van Bommel |
Update testcase broken by intrinsics changes.
|
Tue, 10 Mar 2009 04:56:28 +0100 |
Frits van Bommel |
Oops, had some unsaved changes
|
Tue, 10 Mar 2009 04:48:54 +0100 |
Frits van Bommel |
Automated merge with http://hg.dsource.org/projects/ldc
|
Tue, 10 Mar 2009 04:45:32 +0100 |
Frits van Bommel |
Intrinsics overhaul:
|
Mon, 09 Mar 2009 20:11:42 -0600 |
Kelly Wilson |
Fix for asm { jle short Lret; }, used by Tango since dmd accepts the 'short'. We just
|
Mon, 09 Mar 2009 21:38:31 +0100 |
Frits van Bommel |
Change the way imports are copied to the (Tango) runtime dir.
|
Mon, 09 Mar 2009 21:38:24 +0100 |
Frits van Bommel |
Reformat intrinsics.di a bit.
|
Mon, 09 Mar 2009 21:38:06 +0100 |
Frits van Bommel |
Factor out some common code between X86 and X86_64, and supply *_real versions
|
Mon, 09 Mar 2009 16:25:45 +0100 |
Frits van Bommel |
Make sure revisions.pl always runs so revisions.h doesn't get out of date.
|
Mon, 09 Mar 2009 13:29:25 +0100 |
Frits van Bommel |
Work around llvm bug #3749 better, or not at all if using a fixed llvm revision.
|
Mon, 09 Mar 2009 03:44:11 +0100 |
Frits van Bommel |
Ignore the ABI some more for intrinsics
|
Sun, 08 Mar 2009 17:57:34 +0100 |
Christian Kamm |
Fix out of source build by adding the build dir to the include path.
|
Sun, 08 Mar 2009 17:51:45 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sun, 08 Mar 2009 16:30:39 +0100 |
Christian Kamm |
Make CompileUnit linkage compatible with llvm trunk.
|
Sun, 08 Mar 2009 16:22:06 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sun, 08 Mar 2009 16:21:56 +0100 |
Christian Kamm |
Improved template emission control for singleobj building.
|
Sun, 08 Mar 2009 16:21:11 +0100 |
Christian Kamm |
Give compile units LinkOnceLinkage to circumvent duplicate symbols with LLVM linking.
|
Sun, 08 Mar 2009 16:37:55 +0100 |
Frits van Bommel |
Fix to make sure to create gen/ in build dir and unbreak build with older perl
|
Sun, 08 Mar 2009 16:13:10 +0100 |
Frits van Bommel |
Make LDC work with LLVM trunk (s/LinkOnceLinkage/LinkOnceOdrLinkage/)
|
Sun, 08 Mar 2009 12:13:22 +0100 |
Frits van Bommel |
Fixed some #includes to be correct for both D1 and D2
|
Sun, 08 Mar 2009 11:46:55 +0100 |
Frits van Bommel |
Make error message on assembler failure more informative (hopefully)
|
Sun, 08 Mar 2009 09:58:26 +0100 |
Frits van Bommel |
Update runtime CMakeList.txt for new command line syntax regarding PIC
|
Sun, 08 Mar 2009 09:57:20 +0100 |
Frits van Bommel |
Remove a dead variable from ldmd.
|
Sun, 08 Mar 2009 04:23:44 +0100 |
Tomas Lindquist Olsen |
really fixed fstp a, b; on x86-64
|
Sun, 08 Mar 2009 02:46:37 +0100 |
Tomas Lindquist Olsen |
Applied rev two operand form fstp fix to x86-64 asm
|
Sun, 08 Mar 2009 02:36:45 +0100 |
Tomas Lindquist Olsen |
Merge
|
Sun, 08 Mar 2009 02:36:09 +0100 |
Tomas Lindquist Olsen |
Fixed two operand form of X86 fstp instruction. (throw away second operand!)
|
Sun, 08 Mar 2009 02:07:53 +0100 |
Frits van Bommel |
Apply [1053] to x86-32 asm as well.
|
Sun, 08 Mar 2009 01:26:30 +0100 |
Frits van Bommel |
Future-proof the code to classify static array members of structs.
|
Sun, 08 Mar 2009 00:57:58 +0100 |
Frits van Bommel |
Always pass an address expression (not a var expression) to asm operands of
|
Sat, 07 Mar 2009 19:38:00 +0100 |
Christian Kamm |
Add '-singleobj' command line switch that will tell LDC to link LLVM modules internally and only emit a single object file.
|
Sat, 07 Mar 2009 14:25:30 +0100 |
Christian Kamm |
Make IrFuncTy a member of TypeFunction. Reset between modules compiled in the
|
Fri, 06 Mar 2009 21:15:13 +0100 |
Frits van Bommel |
Fix a bug in the X86 ABI. The size of a struct is different from the size of a
|
Fri, 06 Mar 2009 19:12:48 +0100 |
Frits van Bommel |
Two small bugfixes:
|
Fri, 06 Mar 2009 17:00:34 +0100 |
Frits van Bommel |
Fix a typo
|
Fri, 06 Mar 2009 16:00:47 +0100 |
Frits van Bommel |
Some calling convention work for x86-64:
|
Thu, 05 Mar 2009 21:32:18 +0100 |
Frits van Bommel |
Add 'testversion=Tango' to rebuild profile.
|
Thu, 05 Mar 2009 18:33:20 +0100 |
Tomas Lindquist Olsen |
Fixed lazy arguments again.
|
Wed, 04 Mar 2009 23:17:32 +0100 |
Frits van Bommel |
Fix hasUnalignedFields(): take static arrays into account too.
|
Wed, 04 Mar 2009 23:06:23 +0100 |
Frits van Bommel |
Fix bug in default implementation of ABIRewrite::getL.
|
Wed, 04 Mar 2009 17:24:25 +0100 |
Tomas Lindquist Olsen |
Updated ABI handling to be more flexible with regard to reusing lvalues and allocating fewer temporaries.
|
Wed, 04 Mar 2009 16:13:16 +0100 |
Tomas Lindquist Olsen |
Added some documentation for the IrFuncTyArg structure, which is key to writing ABI transformations.
|
Tue, 03 Mar 2009 21:20:20 +0100 |
Tomas Lindquist Olsen |
Fixed inreg attribute to no longer overwrite sign/zeroext.
|
Tue, 03 Mar 2009 19:47:39 +0100 |
Tomas Lindquist Olsen |
Updated lifetime.d with a 32bit faster codepath for overflow checks.
|
Tue, 03 Mar 2009 19:37:47 +0100 |
Tomas Lindquist Olsen |
Removed inline asm for overflow checking in runtime that wasn't working.
|
Tue, 03 Mar 2009 19:27:23 +0100 |
Tomas Lindquist Olsen |
remove memory clobber again ...
|
Tue, 03 Mar 2009 19:18:47 +0100 |
Tomas Lindquist Olsen |
Added ~{memory} clobber when a jump_target is generated in inline asm (branch out of inline asm)
|
Tue, 03 Mar 2009 19:03:27 +0100 |
Christian Kamm |
Move more tests to D_InlineAsm
|
Tue, 03 Mar 2009 18:26:39 +0100 |
Christian Kamm |
Adjust mini tests to use D_InlineAsm
|
Tue, 03 Mar 2009 17:44:56 +0100 |
Christian Kamm |
Switch LLVM_InlineAsm -> D_InlineAsm. It's for real this time, hopefully.
|
Tue, 03 Mar 2009 17:38:08 +0100 |
Christian Kamm |
Remove unused defines: X86_REVERSE_PARAMS, X86_PASS_IN_EAX
|
Tue, 03 Mar 2009 17:27:14 +0100 |
Tomas Lindquist Olsen |
Fixed potential assertion failure in taking address of function as a constant expression.
|
Tue, 03 Mar 2009 17:21:35 +0100 |
Tomas Lindquist Olsen |
Disabled some extensive LLVM value logging with -vv that dramatically increases -vv output length for little value.
|
Tue, 03 Mar 2009 15:08:26 +0100 |
Tomas Lindquist Olsen |
Added hasUnalignedFields helper to check if a type has unaligned fields - as per request from fvbommel. Result is cached in TypeStruct.
|
Tue, 03 Mar 2009 14:10:37 +0100 |
Tomas Lindquist Olsen |
Merged ABI changes into D2 frontend.
|
Tue, 03 Mar 2009 09:51:15 +0100 |
Frits van Bommel |
Oops, merge with mainline and actually push this time...
|
Sun, 01 Mar 2009 22:59:03 +0100 |
Frits van Bommel |
Pass -m32/-m64 on to gcc when assembling and linking
|
Tue, 03 Mar 2009 04:41:11 +0100 |
Tomas Lindquist Olsen |
Fixed #218 by disabling the problematic optimization.
|
Tue, 03 Mar 2009 02:51:21 +0100 |
Tomas Lindquist Olsen |
Abstracted more (most) ABI details out of the normal codegen.
|
Sun, 01 Mar 2009 22:40:15 +0100 |
Tomas Lindquist Olsen |
Fixed find alt script.
|
Sun, 01 Mar 2009 22:27:37 +0100 |
Tomas Lindquist Olsen |
Added script to find the alternative triple of the host.
|
Sun, 01 Mar 2009 22:27:03 +0100 |
Tomas Lindquist Olsen |
Implemented basic -m32 and -m64 options.
|
Sun, 01 Mar 2009 20:22:10 +0100 |
Tomas Lindquist Olsen |
Remember to set asm type back to void and n=0 when rewriting to sret asm return.
|
Sun, 01 Mar 2009 19:06:47 +0100 |
Tomas Lindquist Olsen |
Removed some code that wasn't supposed to be in last commit!
|
Sun, 01 Mar 2009 19:01:05 +0100 |
Tomas Lindquist Olsen |
- Fixed x86-32 C ABI for complex number return values.
|
Sun, 01 Mar 2009 11:04:05 +0100 |
Frits van Bommel |
Remove Tango patch that's been applied upstream.
|
Sat, 28 Feb 2009 18:17:45 -0700 |
Kelly Wilson |
Just forgot an opcode for x64
|
Sun, 01 Mar 2009 01:34:20 +0100 |
Tomas Lindquist Olsen |
Same fix for align size of void type on D2.
|
Sun, 01 Mar 2009 01:33:08 +0100 |
Tomas Lindquist Olsen |
Fixed alignsize for void types. (it's one byte)
|
Sat, 28 Feb 2009 22:16:52 +0100 |
Frits van Bommel |
Use llvm::CallSite instead of custom CallOrInvoke class.
|
Sat, 28 Feb 2009 19:58:30 +0100 |
Christian Kamm |
Error gracefully for +=, -=, *=, /= if rhs is complex but lhs isn't.
|
Sat, 28 Feb 2009 17:44:53 +0100 |
Frits van Bommel |
Apply previous changes to dmd2/mtype.c as well.
|
Sat, 28 Feb 2009 17:35:45 +0100 |
Frits van Bommel |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sat, 28 Feb 2009 16:09:44 +0100 |
Frits van Bommel |
Use LLVM alignment data instead of hand-picked.
|
Sat, 28 Feb 2009 16:09:35 +0100 |
Frits van Bommel |
Preparation for next patch. Don't ask about why this is needed.
|
Sat, 28 Feb 2009 15:06:09 +0100 |
Christian Kamm |
Readded indentation that got lost in the dmd/mars.c -> gen/main.cpp move.
|
Sat, 28 Feb 2009 13:48:49 +0100 |
Christian Kamm |
Fix alignment info of cdouble, cfloat. They align the same as double, float now.
|
Sat, 28 Feb 2009 09:06:25 +0100 |
Christian Kamm |
Don't reset gTargetData after compiling a module. Fixes segfault when
|
Fri, 27 Feb 2009 19:41:25 +0100 |
Frits van Bommel |
Remove initialization of padding of reals, ireals and creals.
|
Fri, 27 Feb 2009 12:35:31 +0100 |
Frits van Bommel |
Fix struct field alignment on x86-64 (for align > 8, like real.alignof)
|
Thu, 26 Feb 2009 23:35:39 +0100 |
Frits van Bommel |
Fix cfloat return on x86_64: only perform ABI transformation for non-extern(D)
|
Thu, 26 Feb 2009 22:47:06 +0100 |
Frits van Bommel |
Implement support for intrinsics returning struct types
|
Thu, 26 Feb 2009 18:43:25 +0100 |
Tomas Lindquist Olsen |
Fixed druntime lib path in ldc2.conf.in, thanks Matt
|
Thu, 26 Feb 2009 18:28:50 +0100 |
Tomas Lindquist Olsen |
Added some missing version identifiers.
|
Thu, 26 Feb 2009 18:02:13 +0100 |
Tomas Lindquist Olsen |
Fixed debug info for globals in D2.
|
Thu, 26 Feb 2009 15:51:19 +0100 |
Tomas Lindquist Olsen |
Missing %s error param in main.cpp
|
Thu, 26 Feb 2009 15:23:52 +0100 |
Frits van Bommel |
Don't crash if we don't know what ABI to use. Assume some defaults instead.
|
Thu, 26 Feb 2009 14:51:05 +0100 |
Frits van Bommel |
Fix some -vv output
|
Thu, 26 Feb 2009 14:51:02 +0100 |
Frits van Bommel |
Use LLVM OStream wrapper instead of <iostream> in the logger.
|
Thu, 26 Feb 2009 15:24:20 +0100 |
Tomas Lindquist Olsen |
Fixed const/invariant struc/class fields of the form const int i = 4; they don't add a field.
|
Thu, 26 Feb 2009 14:49:32 +0100 |
Frits van Bommel |
Fix dstress runner to use ldmd
|
Thu, 26 Feb 2009 14:48:47 +0100 |
Frits van Bommel |
Fix x86_64 cfloat support to work on intended target :)
|
Thu, 26 Feb 2009 14:23:18 +0100 |
Tomas Lindquist Olsen |
oups, seems like I broke some constness in D1 last commit, compiles again!
|
Thu, 26 Feb 2009 14:13:27 +0100 |
Tomas Lindquist Olsen |
Forgot new files that were supposed to be in last commit.
|
Thu, 26 Feb 2009 14:11:49 +0100 |
Tomas Lindquist Olsen |
- Fixed LLVM style CL args for D2.
|
Wed, 25 Feb 2009 19:30:06 +0100 |
Frits van Bommel |
Call llvm_shutdown when shutting down the backend.
|
Wed, 25 Feb 2009 17:34:51 +0100 |
Frits van Bommel |
Use LLVM-style command line (instead of DMD-style)
|
Thu, 19 Feb 2009 13:51:44 +0100 |
Frits van Bommel |
Clean up regexes in .hgignore, making it more strict.
|