Sun, 10 May 2009 17:25:47 +0200 |
Tomas Lindquist Olsen |
Increased a buffer size in TypeInfo_StaticArray from 10 to 20 to avoid assertion failures! Thanks LeoD.
|
Sun, 10 May 2009 15:50:51 +0200 |
Tomas Lindquist Olsen |
Removed fix from rev [1331] since rev [1333] adds a more general fix that catches more cases!
|
Sun, 10 May 2009 15:42:23 +0200 |
Christian Kamm |
Backport D2 CTFE cast behavior to allow cast(char[])char[n] to succeed.
|
Sun, 10 May 2009 14:37:30 +0200 |
Tomas Lindquist Olsen |
Added testcase for #288 .
|
Sun, 10 May 2009 14:32:23 +0200 |
Tomas Lindquist Olsen |
Fixed CTFE evaluation on .dup . Fixes ticket #288 .
|
Sun, 10 May 2009 04:37:03 +0200 |
Tomas Lindquist Olsen |
Fixed D-style vararg arguments with types that have sizes bigger that pointers, yet are not aligned to pointer sizes. Fixes ticket #276 .
|
Sun, 10 May 2009 04:18:14 +0200 |
Frits van Bommel |
Turn new _d_array_slice_copy runtime call into memcpy when the slice lengths are
|
Sun, 10 May 2009 02:23:05 +0200 |
Tomas Lindquist Olsen |
Changed array slice copying to call a runtime function when assertions or array bound checks are enabled instead of just doing a memcpy. This makes sure an exception is thrown if the copy is invalid (ie. different lengths or overlap). Fixes ticket #283 . Rebuilding the runtime is necessary.
|
Sun, 10 May 2009 00:50:35 +0200 |
Tomas Lindquist Olsen |
Added reference to DMD bug for latest dstress "regressions" compile/m/mixin_29_E.d and compile/m/mixin_29_F.d .
|
Sun, 10 May 2009 00:46:09 +0200 |
Tomas Lindquist Olsen |
Fixed dmdfe generated class invariant calls. Also insert proper "this !is null" check before it. Fixed invariant* dstress regressions and generally seems like a good idea. Hope I didn't break anything.. minitests run fine!
|
Sat, 09 May 2009 20:13:05 +0200 |
Christian Kamm |
Yet another fdiv/fsub special case.
|
Sat, 09 May 2009 18:57:21 +0200 |
Christian Kamm |
Strip metadata for -singleobj as a workaround to a LLVM linking bug.
|
Sat, 09 May 2009 18:57:00 +0200 |
Christian Kamm |
Update for LLVM rev > 71348: getTypePaddedSize -> getTypeAllocSize
|
Sat, 09 May 2009 15:27:27 +0200 |
Tomas Lindquist Olsen |
Fixed compile unit for debug info for array operations, fixed ticket #280 .
|
Sat, 09 May 2009 08:58:55 +0200 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sat, 09 May 2009 08:58:41 +0200 |
Christian Kamm |
Restrict second arg of certain floating-point stores to ST. Fix type postfix
|
Sat, 09 May 2009 02:34:27 +0200 |
Frits van Bommel |
Some tweaks to -simplify-drtcalls.
|
Sat, 09 May 2009 00:55:47 +0200 |
Frits van Bommel |
Make sure this testcase keeps crashing with -O3.
|
Sat, 09 May 2009 00:50:15 +0200 |
Frits van Bommel |
Allocate objects on the stack if they (a) don't have a destructor, and
|
Fri, 08 May 2009 16:00:44 +0200 |
Frits van Bommel |
Work around an LLVM bug by not referring to globals from metadata. This was
|
Fri, 08 May 2009 12:21:53 +0200 |
Frits van Bommel |
Fix a bug pointed out by valgrind: OutBuffer::write4() was writing 8 bytes on
|
Thu, 07 May 2009 21:49:58 +0200 |
Christian Kamm |
Fix type postfix for fistp/fisttp. Two operand form still broken (is it even legal?).
|
Thu, 07 May 2009 15:33:06 +0200 |
Frits van Bommel |
Fix typo in function name
|
Thu, 07 May 2009 21:07:50 +0200 |
Christian Kamm |
Add newline to get rid of warning.
|
Thu, 07 May 2009 21:01:57 +0200 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Thu, 07 May 2009 21:01:44 +0200 |
Christian Kamm |
Fix certain cases of floating point instruction mistranslation.
|
Thu, 07 May 2009 02:10:29 +0200 |
Tomas Lindquist Olsen |
Fixed deal breaker bug for more-at-once compilation when any module contained aggregates. Fixes ticket #272 .
|
Wed, 06 May 2009 20:29:27 +0200 |
Frits van Bommel |
Automated merge with http://hg.dsource.org/projects/ldc
|
Wed, 06 May 2009 20:27:48 +0200 |
Frits van Bommel |
Stack-allocate zero-initialized arrays.
|
Wed, 06 May 2009 15:58:15 +0200 |
Frits van Bommel |
Some refactoring
|
Wed, 06 May 2009 14:11:37 +0200 |
Frits van Bommel |
Postpone (expensive) escape analysis until we're sure it's needed.
|
Wed, 06 May 2009 19:56:33 +0200 |
Christian Kamm |
Ignore short/long prefix of labels instead of ignoring the whole branch
|
Wed, 06 May 2009 18:54:20 +0200 |
Christian Kamm |
Make the no-operand versions of floating point inline asm instructions always
|
Wed, 06 May 2009 18:08:44 +0200 |
Christian Kamm |
Translate fsub/fdiv correctly. See #256.
|
Tue, 05 May 2009 11:51:00 -0600 |
Kelly Wilson |
fix wrong arg order for fmul/fadd
|
Mon, 04 May 2009 20:26:45 +0200 |
Frits van Bommel |
Add 'nounwind' attribute to the relevant runtime functions, and use it when
|
Mon, 04 May 2009 13:32:16 +0200 |
Frits van Bommel |
Factor out the code to find gcc, and add a command-line option to override the
|
Mon, 04 May 2009 12:08:30 +0200 |
Frits van Bommel |
Don't forget to update the control flow when deleting an invoke.
|
Sun, 03 May 2009 18:01:45 +0200 |
Frits van Bommel |
Stack promotion for _d_newarrayvT. Array literals, concatenations (a ~ b) and
|
Sun, 03 May 2009 21:58:28 +0200 |
Frits van Bommel |
Add -verify-each option to ease debugging
|
Sun, 03 May 2009 20:19:49 +0200 |
Frits van Bommel |
Remove some overly verbose debug output
|
Sun, 03 May 2009 20:16:15 +0200 |
Frits van Bommel |
Strip metadata even when addPassesForOptLevel() isn't called, for instance when
|
Sun, 03 May 2009 15:24:05 +0200 |
Frits van Bommel |
Remove bogus noalias attribute from _d_arraysetlength[i]T.
|
Sun, 03 May 2009 11:16:54 +0200 |
Christian Kamm |
Make static int[] a = [1, 2]; a[0] = 4; not segfault
|
Sat, 02 May 2009 20:42:58 +0200 |
Frits van Bommel |
Factor out some constants into the header so producers and consumers of
|
Sat, 02 May 2009 14:00:57 +0200 |
Benjamin Kramer |
Force SVN to C locale
|
Sat, 02 May 2009 16:39:26 +0200 |
Benjamin Kramer |
Add runtime support for darwin x86_64
|
Sat, 02 May 2009 19:03:33 +0300 |
Matti Niemenmaa |
Fix build when USE_METADATA is off.
|
Sat, 02 May 2009 12:19:43 +0200 |
Frits van Bommel |
There's an issue with LLVM metadata support; it triggers an assert when trying
|
Sat, 02 May 2009 11:58:50 +0200 |
Frits van Bommel |
Remove calls to some runtime functions if their results are unused
|
Sat, 02 May 2009 11:58:50 +0200 |
Frits van Bommel |
Implement another D-specific pass: -dgc2stack
|
Sat, 02 May 2009 11:58:50 +0200 |
Frits van Bommel |
Add metadata for TypeInfo -> llvm::Type mapping.
|
Sat, 02 May 2009 11:58:50 +0200 |
Frits van Bommel |
Remove some dead code.
|
Thu, 30 Apr 2009 23:16:21 +0200 |
Christian Kamm |
Commit workaround for TypeFunction comparing issue.
|
Thu, 30 Apr 2009 12:25:04 +0200 |
Frits van Bommel |
Make sure this still compiles after LLVM r70437, which introduces a
|
Thu, 30 Apr 2009 11:56:03 +0200 |
Frits van Bommel |
Now the backend wants an enum value as optimization level.
|
Wed, 29 Apr 2009 18:59:39 +0200 |
Tomas Lindquist Olsen |
Fixed array operation codegen when used from imported templates. All array operations are now emitted with template linkage. Fixed #270 .
|
Wed, 29 Apr 2009 18:39:59 +0200 |
Tomas Lindquist Olsen |
Fixed file name in imported mixins containing assertions.
|
Wed, 29 Apr 2009 17:47:24 +0200 |
Frits van Bommel |
Add some attributes to runtime calls, to provide the standard LLVM optimization
|
Wed, 29 Apr 2009 10:26:28 +0200 |
Frits van Bommel |
Update codegen to (hopefully) work correctly with newer LLVM trunk, where
|
Tue, 28 Apr 2009 21:58:06 +0200 |
Frits van Bommel |
Implement first D-specific optimization pass: -simplify-drtcalls.
|
Mon, 27 Apr 2009 22:34:36 +0200 |
Frits van Bommel |
Check in some old changes to the binding, from before I had commit access.
|
Mon, 27 Apr 2009 22:33:17 +0200 |
Frits van Bommel |
Committing LLVM binding for D as it currently exists in the SVN repository.
|
Mon, 27 Apr 2009 13:59:15 +0200 |
Tomas Lindquist Olsen |
Forgot the special case part in last !ThisExp change.
|
Mon, 27 Apr 2009 13:30:48 +0200 |
Tomas Lindquist Olsen |
Moved special casing of 'assert(this, "null this");' generated statements from !ThisExp into !AssertExp.
|
Mon, 27 Apr 2009 03:40:40 +0200 |
Tomas Lindquist Olsen |
Fixed class default initializers and type generation. Bug #260 is fixed.
|
Mon, 27 Apr 2009 01:43:29 +0200 |
Tomas Lindquist Olsen |
Added testcase for overlapping struct default initializer I has missed. Slight tweak of the relevant error message.
|
Sun, 26 Apr 2009 20:36:53 +0200 |
Frits van Bommel |
Remove a bit of code duplication.
|
Sun, 26 Apr 2009 20:31:48 +0200 |
Frits van Bommel |
Fix a logic bug.
|
Sun, 26 Apr 2009 18:21:07 +0200 |
Christian Kamm |
Force 'fast' compilation when debug info is requested. LLVM trunk seems to
|
Sun, 26 Apr 2009 11:29:30 +0200 |
Christian Kamm |
Fix interface indices. Closes #269 and #266.
|
Sun, 26 Apr 2009 10:29:39 +0200 |
Christian Kamm |
Add (currently failing) test for correct virtual call resolution.
|
Sat, 25 Apr 2009 18:27:11 +0200 |
Tomas Lindquist Olsen |
Merge
|
Sat, 25 Apr 2009 18:26:54 +0200 |
Tomas Lindquist Olsen |
Fixed struct default initializers.
|
Sat, 25 Apr 2009 09:11:32 +0200 |
Christian Kamm |
Revert change to treat bodyless functions in abstract classes as abstract.
|
Fri, 24 Apr 2009 16:47:42 +0200 |
Frits van Bommel |
Add `#include "gen/llvm-version.h"` to files that use the macro it defines...
|
Thu, 23 Apr 2009 20:44:55 +0200 |
Christian Kamm |
Fix parsing of import statements to only pass valid identifiers to Import
|
Thu, 23 Apr 2009 20:28:29 +0200 |
Christian Kamm |
Trivial fix for bug #265
|
Wed, 22 Apr 2009 14:49:49 -0600 |
Kelly Wilson |
Changes for mingw to compile properly
|
Wed, 22 Apr 2009 14:40:56 -0600 |
Kelly Wilson |
Change needed for mingw
|
Wed, 22 Apr 2009 03:08:28 +0200 |
Tomas Lindquist Olsen |
Rewrote runtime struct literal codegen.
|
Wed, 22 Apr 2009 01:18:21 +0200 |
Tomas Lindquist Olsen |
Added checks for overlapping union initializers, as shown in bug #259 .
|
Tue, 21 Apr 2009 20:19:53 +0200 |
Tomas Lindquist Olsen |
Fixed classinfo.interfaces for .. interfaces!
|
Tue, 21 Apr 2009 19:32:22 +0200 |
Tomas Lindquist Olsen |
Fixed emitting declarations nested inside interfaces.
|
Tue, 21 Apr 2009 19:17:29 +0200 |
Christian Kamm |
Add forgotten null check.
|
Tue, 21 Apr 2009 18:57:29 +0200 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sun, 19 Apr 2009 00:06:23 +0200 |
Christian Kamm |
Do not emit declare or emit a vtbl entry for bodyless functions in abstract classes.
|
Tue, 21 Apr 2009 17:54:43 +0200 |
Tomas Lindquist Olsen |
Merge.
|
Fri, 17 Apr 2009 17:16:55 +0200 |
Tomas Lindquist Olsen |
Disabled resetting types between modules MAO (more at once). Fixes guaranteed MOA compilation segfault.
|
Fri, 17 Apr 2009 14:48:37 +0200 |
Tomas Lindquist Olsen |
Merge.
|
Fri, 17 Apr 2009 14:38:29 +0200 |
Tomas Lindquist Olsen |
Fixed all issues preventing Tango 0.99.8 to compile with `sh build-tango.sh --verbose ldc'.
|
Fri, 17 Apr 2009 03:01:43 +0200 |
Tomas Lindquist Olsen |
Resolve all base classes, including interfaces (!) before resolving the class itself.
|
Fri, 17 Apr 2009 02:54:16 +0200 |
Tomas Lindquist Olsen |
Updated the interal runtime's ClassInfo type to match the one in object.di .
|
Fri, 17 Apr 2009 01:19:03 +0200 |
Tomas Lindquist Olsen |
Merge with rev [1221]
|
Fri, 17 Apr 2009 00:54:20 +0200 |
Tomas Lindquist Olsen |
!ClassInfo instances were not mutable, this is necessary for .classinfo based locking to work. !ModuleInfo generation was commented out as well.
|
Fri, 17 Apr 2009 00:36:21 +0200 |
Tomas Lindquist Olsen |
Fixed static struct initializers.
|
Thu, 16 Apr 2009 22:20:26 +0200 |
Tomas Lindquist Olsen |
Make !TypeInfo output lazy unless we need to provide full definitions in general.
|
Thu, 16 Apr 2009 22:19:36 +0200 |
Tomas Lindquist Olsen |
Make typeinfo for struct
|
Thu, 16 Apr 2009 21:15:42 +0200 |
Tomas Lindquist Olsen |
Make sure aggregates are resolved before outputting their debug info.
|
Thu, 16 Apr 2009 21:10:51 +0200 |
Tomas Lindquist Olsen |
Fixed ClassInfo.interfaces. mini/s.d now runs again.
|
Thu, 16 Apr 2009 21:00:49 +0200 |
Tomas Lindquist Olsen |
Too strict assertion with generating the interfaceInfosZ symbol. Baseclasses might introduce interfaces.
|
Thu, 16 Apr 2009 20:41:27 +0200 |
Tomas Lindquist Olsen |
Fixed forward referenced structs.
|
Thu, 16 Apr 2009 20:31:21 +0200 |
Tomas Lindquist Olsen |
Merge.
|
Thu, 16 Apr 2009 20:30:30 +0200 |
Tomas Lindquist Olsen |
Removed invalid assertion.
|
Thu, 16 Apr 2009 19:21:30 +0200 |
Tomas Lindquist Olsen |
Fixed some minitest regressions.
|
Thu, 16 Apr 2009 13:18:56 +0200 |
Tomas Lindquist Olsen |
Completed interface implementation. Hopefully that's it for now..
|
Thu, 16 Apr 2009 11:01:49 +0200 |
Tomas Lindquist Olsen |
Now compiles again, and fixed type of the Interface[N] ClassInfo symbol.
|
Wed, 15 Apr 2009 20:06:25 +0200 |
Tomas Lindquist Olsen |
Added Doxygen file.
|
Mon, 20 Apr 2009 00:04:35 +0200 |
Frits van Bommel |
Remove some logging I didn't mean to commit.
|
Sun, 19 Apr 2009 23:15:03 +0200 |
Frits van Bommel |
Fix a problem which occurred when a function type was forward-referenced by
|
Sun, 19 Apr 2009 19:28:10 +0200 |
Frits van Bommel |
No need for temporary alloca's here, use a phi node instead.
|
Sat, 18 Apr 2009 00:34:20 +0200 |
Frits van Bommel |
Copy alloca'd parameters referenced by nested functions to the nesting frame.
|
Fri, 17 Apr 2009 13:50:01 +0200 |
Frits van Bommel |
Fix nested functions.
|
Fri, 17 Apr 2009 03:47:56 +0200 |
Frits van Bommel |
Use 'undef' instead of null for unneeded contexts.
|
Fri, 17 Apr 2009 01:14:35 +0200 |
Frits van Bommel |
Unbreak nested naked functions.
|
Thu, 16 Apr 2009 12:01:28 +0200 |
Frits van Bommel |
Fix typo in comment
|
Thu, 16 Apr 2009 11:58:43 +0200 |
Frits van Bommel |
Tweak some optimizations.
|
Wed, 15 Apr 2009 21:37:01 +0200 |
Frits van Bommel |
Name some types.
|
Wed, 15 Apr 2009 20:59:21 +0200 |
Frits van Bommel |
Remove 'noalias' and 'nocapture' from %.nest_arg. They no longer apply now that
|
Wed, 15 Apr 2009 20:59:19 +0200 |
Frits van Bommel |
Unify %.frames_list and %.frame into a single data structure, generalizing r1212
|
Mon, 13 Apr 2009 17:42:36 +0200 |
Frits van Bommel |
Fix some unittests for 64-bit asm. They were operating on int variables as if
|
Mon, 13 Apr 2009 16:16:03 +0200 |
Frits van Bommel |
Give all symbols nested in functions internal linkage, unless it's one of the
|
Mon, 13 Apr 2009 12:19:18 +0200 |
Frits van Bommel |
Fix a bug in nested context code that occured when calling a function nested in
|
Mon, 13 Apr 2009 04:09:08 +0200 |
Frits van Bommel |
For the outermost function needing a context frame, use the address of that
|
Sun, 12 Apr 2009 22:22:15 +0200 |
Frits van Bommel |
Merge
|
Sun, 12 Apr 2009 21:56:43 +0200 |
Frits van Bommel |
Add some alignment info where LLVM might otherwise be more pessimistic.
|
Sun, 12 Apr 2009 20:23:00 +0200 |
Frits van Bommel |
Implement -nested-ctx=hybrid
|
Sun, 12 Apr 2009 16:22:21 +0200 |
Frits van Bommel |
Add an option to change the way nested variables are handled.
|
Sun, 12 Apr 2009 13:08:24 +0200 |
Frits van Bommel |
Isolate all knowledge of what a function's nested context looks like in a
|
Sun, 12 Apr 2009 12:52:01 +0200 |
Frits van Bommel |
Reduce include-order dependencies
|
Sun, 12 Apr 2009 19:56:03 +0200 |
Christian Kamm |
Simplify array casts and implement dyn array -> static array.
|
Sun, 12 Apr 2009 19:53:41 +0200 |
Christian Kamm |
Fix mini test runner.
|
Sun, 12 Apr 2009 16:18:02 +0200 |
Christian Kamm |
Implement static array -> static array cast. Fixes #223.
|
Sun, 12 Apr 2009 14:58:18 +0200 |
Christian Kamm |
Introduce checks to fix #173.
|
Sun, 12 Apr 2009 13:50:18 +0200 |
Christian Kamm |
Remove unnecessary GCC_EXE CMake flag. Closes #208, thanks impulze.
|
Wed, 08 Apr 2009 23:05:30 +0200 |
Frits van Bommel |
Remove reference to llvm::cl::AllowInverse enum value which was removed in
|
Wed, 08 Apr 2009 21:12:08 +0200 |
Christian Kamm |
Disable frame pointer elimination when -g or -gc is passed.
|
Tue, 07 Apr 2009 18:37:19 +0200 |
larsivi |
Ported script to Tango
|
Sun, 05 Apr 2009 15:58:28 +0200 |
Christian Kamm |
Make sure -run doesn't consume the config file flags.
|
Sun, 05 Apr 2009 15:02:44 +0200 |
Christian Kamm |
Apply fawzi's stacktracing update from #254.
|
Fri, 03 Apr 2009 17:59:34 +0200 |
Tomas Lindquist Olsen |
Merged DMD 1.042.
|
Fri, 03 Apr 2009 17:02:52 +0200 |
Tomas Lindquist Olsen |
Moved some DMDFE files into a seperate dmd/root subdir to closer match the DMD file structure since 1.041.
|
Fri, 03 Apr 2009 16:35:47 +0200 |
Frits van Bommel |
Don't expand tilde ('~') in paths unless it's the first character of the path
|
Fri, 03 Apr 2009 16:34:11 +0200 |
Tomas Lindquist Olsen |
Started seperating type resolution from the rest of codegen again, the merge had too many regressions.
|
Fri, 03 Apr 2009 14:54:17 +0200 |
Tomas Lindquist Olsen |
updated ir/irtype.h guard name
|
Thu, 02 Apr 2009 17:27:53 -0600 |
Kelly Wilson |
Some more fixups for mingw -- missing underscores
|
Thu, 02 Apr 2009 20:56:39 +0200 |
Christian Kamm |
Make sure debug info is only declared once per alloca.
|
Thu, 02 Apr 2009 19:16:44 +0200 |
Christian Kamm |
Apply small includes patch for FreeBSD. Thanks kimelto!
|
Wed, 01 Apr 2009 00:52:31 +0200 |
Frits van Bommel |
Make sure -defaultlib and -debuglib don't get cut off if longer than 63 chars,
|
Wed, 01 Apr 2009 00:13:21 +0200 |
Frits van Bommel |
Automated merge with http://hg.dsource.org/projects/ldc
|
Wed, 01 Apr 2009 00:01:44 +0200 |
Frits van Bommel |
Fix nested references to 'ref' foreach variables.
|
Tue, 31 Mar 2009 20:21:28 +0200 |
Tomas Lindquist Olsen |
Moved ir/irtype.* into ir/irdtype.*.
|
Tue, 31 Mar 2009 03:06:19 +0200 |
Frits van Bommel |
Commit requested by lindquist.
|
Mon, 30 Mar 2009 18:22:30 -0600 |
Kelly Wilson |
Fix one more naked asm output problem for mingw32 and remove some
|
Mon, 30 Mar 2009 18:18:23 -0600 |
Kelly Wilson |
Fix up some naked asm output for mingw32
|
Tue, 31 Mar 2009 01:18:35 +0200 |
Frits van Bommel |
Remove some redundancy from the DValue hierarchy: all subclasses had a 'type'
|
Mon, 30 Mar 2009 16:34:36 +0200 |
Frits van Bommel |
Give function & delegate literals, foreach bodies and lazy parameters internal
|
Mon, 30 Mar 2009 00:00:43 +0200 |
Frits van Bommel |
Fix a bug I noticed. Varargs were broken if preceded by tuple parameters.
|
Sun, 29 Mar 2009 23:57:51 +0200 |
Frits van Bommel |
Fix #246 by running type->semantic() on parameters so tuples are expanded.
|
Sun, 29 Mar 2009 19:46:37 +0200 |
Frits van Bommel |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sun, 29 Mar 2009 19:38:59 +0200 |
Frits van Bommel |
Enable inlining by default for -O3+.
|
Sun, 29 Mar 2009 19:19:32 +0200 |
Christian Kamm |
Add newlines to end of file.
|
Sun, 29 Mar 2009 18:50:41 +0200 |
Frits van Bommel |
Forgot to commit this file, sorry
|
Sun, 29 Mar 2009 16:47:19 +0200 |
Frits van Bommel |
Small cleanup: remove mars.h #include
|
Sun, 29 Mar 2009 15:51:14 +0200 |
Frits van Bommel |
Change meaning of optimization levels: -O0 now means 'no optimization' like with
|
Sun, 29 Mar 2009 15:46:55 +0200 |
Frits van Bommel |
Allow specific optimization passes to be requested from the command line.
|
Sun, 29 Mar 2009 11:44:32 +0200 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sun, 29 Mar 2009 11:43:45 +0200 |
Christian Kamm |
A different fix to #218 and DMD2682 that does not lead to constant folding regressions.
|
Sun, 29 Mar 2009 03:53:22 +0200 |
Frits van Bommel |
Another big-endian fix. (Don't lie to [s]printf...)
|
Sun, 29 Mar 2009 03:27:04 +0200 |
Frits van Bommel |
Clean up some suspicious code.
|
Sun, 29 Mar 2009 01:29:30 +0100 |
Frits van Bommel |
This should fix integers below 64 bit on big-endian systems.
|
Sat, 28 Mar 2009 21:10:53 +0100 |
Christian Kamm |
Fix bug in CaseStatement::semantic when there's no enclosing switch.
|
Sat, 28 Mar 2009 20:45:33 +0100 |
Christian Kamm |
Emit function bodies before generating the module info to make sure static
|
Sat, 28 Mar 2009 20:25:59 +0100 |
Christian Kamm |
Do not skip abstract function declarations if they have a function body. Fixes abstract_17_A,B.
|
Sat, 28 Mar 2009 20:01:37 +0100 |
Christian Kamm |
Force initialize the runtime module in Module::genLLVMModule. It is required
|
Sat, 28 Mar 2009 19:16:53 +0100 |
Christian Kamm |
Reenable error for gotos into or out of finally blocks.
|
Sat, 28 Mar 2009 14:39:16 +0100 |
Christian Kamm |
Add back some enclosing scope-exit information to the frontend to produce
|
Sat, 28 Mar 2009 14:26:23 +0100 |
Christian Kamm |
Fix goto inside synchronized functions.
|
Sat, 28 Mar 2009 10:50:44 +0100 |
Christian Kamm |
Fix path to llvmasm.di in runtime CMakeList
|
Sat, 28 Mar 2009 09:45:33 +0100 |
Tomas Lindquist Olsen |
Fixed issue with runtime supplied typeinfo generating multiple symbols.
|
Sat, 28 Mar 2009 09:00:32 +0100 |
Tomas Lindquist Olsen |
Fixed forward reference problem in struct methods on x86-64.
|
Sat, 28 Mar 2009 08:25:58 +0100 |
Tomas Lindquist Olsen |
Added support for tuple return with __asmtuple!(int,int) etc.
|
Sat, 28 Mar 2009 07:24:53 +0100 |
Tomas Lindquist Olsen |
Added support for single D type register return from __asm.
|
Sat, 28 Mar 2009 06:32:06 +0100 |
Tomas Lindquist Olsen |
Added initial support for raw LLVM inline asm.
|
Sat, 28 Mar 2009 05:00:43 +0100 |
Tomas Lindquist Olsen |
- Versioned Expresssion::toElem with #if IN_DMD/IN_LLVM.
|
Fri, 27 Mar 2009 23:24:47 +0100 |
Tomas Lindquist Olsen |
Added missing new files.
|
Fri, 27 Mar 2009 23:17:04 +0100 |
Tomas Lindquist Olsen |
Fixed problems introduced by previous commits that prevented Tango from compiling.
|
Fri, 27 Mar 2009 21:50:32 +0100 |
Tomas Lindquist Olsen |
Eliminated the need for resolve, declare, const-init and define lists to drive code generation.
|
Fri, 27 Mar 2009 17:54:27 +0100 |
Tomas Lindquist Olsen |
Changed use of toObjFile to a new codegen method.
|
Thu, 26 Mar 2009 20:45:53 +0100 |
Tomas Lindquist Olsen |
* Moved ir/irsymbol.cpp/h into ir/irdsymbol.cpp/h.
|
Thu, 26 Mar 2009 18:46:21 +0100 |
Tomas Lindquist Olsen |
Moved IRTargetScopeS from IRState into IrFunction, fixes #240 .
|
Wed, 25 Mar 2009 13:46:49 +0100 |
Frits van Bommel |
Remove a duplicate minitest
|
Wed, 25 Mar 2009 08:13:01 +0100 |
Christian Kamm |
Fix to synchronized function storage class when getting the classinfo via dotExp.
|
Tue, 24 Mar 2009 21:18:29 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Tue, 24 Mar 2009 21:18:18 +0100 |
Christian Kamm |
Reorganize EnclosingHandlers to require less changes to the frontend and allow us to
|
Tue, 24 Mar 2009 18:22:47 +0100 |
Tomas Lindquist Olsen |
merge
|
Tue, 24 Mar 2009 18:22:29 +0100 |
Tomas Lindquist Olsen |
Fixed error when pkg-config couldn't find libconfig, allows user to set flags manually.
|
Tue, 24 Mar 2009 15:24:59 +0100 |
Frits van Bommel |
Update DtoConstFP() to be correct after LLVM r67562, which changed the way the
|
Tue, 24 Mar 2009 14:34:16 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Tue, 24 Mar 2009 14:33:57 +0100 |
Christian Kamm |
Fix #239.
|
Tue, 24 Mar 2009 03:14:22 +0100 |
Frits van Bommel |
Remove struct padding which was making this test fail on 64-bit systems.
|
Tue, 24 Mar 2009 02:46:57 +0100 |
Frits van Bommel |
Update comments now that LLVM PR3861 has been fixed. However, since
|
Mon, 23 Mar 2009 20:26:33 +0100 |
Tomas Lindquist Olsen |
Cleanup DMD 1.041 merge.
|
Mon, 23 Mar 2009 14:47:51 +0100 |
Christian Kamm |
Fix tuple declarations in aggregates.
|
Mon, 23 Mar 2009 01:01:55 +0100 |
Frits van Bommel |
Workaround for LLVM PR 3861 (http://llvm.org/PR3861).
|
Sun, 22 Mar 2009 14:51:03 +0100 |
Christian Kamm |
Bring FrameInfo definition up to date with recent Tango developments. Thanks fawzi!
|
Sat, 21 Mar 2009 09:47:48 +0100 |
Christian Kamm |
Add dmd-style configuration file for rebuild usage. See #236 and thanks to ccuter for the patch!
|
Fri, 20 Mar 2009 15:50:01 +0100 |
Frits van Bommel |
Return null from a static class to interface cast if the class reference was
|
Fri, 20 Mar 2009 15:47:42 +0100 |
Frits van Bommel |
Fix makewebstatistics: don't try to drop a test multiple times.
|
Wed, 18 Mar 2009 15:33:19 +0100 |
Frits van Bommel |
Fix some issues with fawzi's patch.
|
Wed, 18 Mar 2009 15:20:07 +0100 |
Frits van Bommel |
Apply fawzi's patch from #235.
|
Wed, 18 Mar 2009 15:03:17 +0100 |
Frits van Bommel |
Fix a bug where ::warning() was called with a va_list argument instead of an
|
Wed, 18 Mar 2009 00:25:36 +0100 |
Frits van Bommel |
Don't set LLVM_REV if it's set on the command line.
|
Sun, 15 Mar 2009 23:04:58 +0100 |
Christian Kamm |
Fix imports copying for out-of-source build.
|
Sun, 15 Mar 2009 16:57:44 +0100 |
Frits van Bommel |
Apply [1120] to D2 as well (untested).
|
Sun, 15 Mar 2009 15:58:38 +0100 |
Frits van Bommel |
Another "pointers are 32 bits" issue in the frontend. long/ulong constants cast
|
Sat, 14 Mar 2009 22:44:52 +0100 |
Frits van Bommel |
Fix -g with default ldc.conf
|
Sat, 14 Mar 2009 22:29:31 +0100 |
Frits van Bommel |
Make this test a bit more meaningful
|
Sat, 14 Mar 2009 22:15:31 +0100 |
Frits van Bommel |
Fun with parameter attributes: For several of the "synthetic" parameters added
|
Sat, 14 Mar 2009 01:32:10 +0100 |
Frits van Bommel |
Disable this for -release, -disable-boundscheck, etc.
|
Sat, 14 Mar 2009 01:22:05 +0100 |
Frits van Bommel |
Call _d_array_bounds when an associative array is indexed with a non-existent
|
Fri, 13 Mar 2009 19:22:40 +0100 |
Frits van Bommel |
Hopefully fix #232
|
Fri, 13 Mar 2009 16:18:43 +0100 |
Frits van Bommel |
Split out LLVM_REV into separate header, to reduce rebuilding when only the LDC
|
Fri, 13 Mar 2009 16:18:01 +0100 |
Frits van Bommel |
Updating revisions.pl.in:
|
Fri, 13 Mar 2009 07:17:29 -0600 |
Kelly Wilson |
Fix 32bit "+2" typo for Outbuffer::reserve
|
Thu, 12 Mar 2009 17:10:24 -0600 |
Kelly Wilson |
Revert removal of "+2" from Outbuffer::reserve function for x64. Unless
|
Thu, 12 Mar 2009 23:48:43 +0100 |
Frits van Bommel |
Fix field access from inline asm. See tests/mini/asm10.d
|
Thu, 12 Mar 2009 23:31:26 +0100 |
Frits van Bommel |
Apply r1106 to x86-64 asm too
|
Thu, 12 Mar 2009 23:30:58 +0100 |
Frits van Bommel |
Unquote ${LIBCONFIG_LDFLAGS} in target_link_libraries().
|
Thu, 12 Mar 2009 23:12:36 +0100 |
Tomas Lindquist Olsen |
Corrected bad asm match for fstp on x86-32
|
Thu, 12 Mar 2009 22:30:30 +0100 |
Tomas Lindquist Olsen |
- Fixed building tango-user-ldc on x86-32.
|
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.
|
Thu, 19 Feb 2009 13:50:05 +0100 |
Frits van Bommel |
Removing ldc.conf. (IMPORTANT: run 'cmake .' after pull)
|
Thu, 19 Feb 2009 11:01:34 +0100 |
Frits van Bommel |
Fix out-ouf-source build for runtime as well.
|
Thu, 19 Feb 2009 00:50:35 +0100 |
Frits van Bommel |
Add explicit paths to revisions.* to unbreak out-of-source build.
|
Wed, 18 Feb 2009 23:18:34 +0100 |
Frits van Bommel |
Update some testcases now that 64-bit immediates are working.
|
Wed, 18 Feb 2009 22:50:22 +0100 |
Frits van Bommel |
Clean up the code generated when jumping out of inline asm and make label names more expressive.
|
Wed, 18 Feb 2009 21:46:14 +0100 |
Frits van Bommel |
Fix some assembler issues:
|
Wed, 18 Feb 2009 03:38:12 +0100 |
Frits van Bommel |
Fix a latent bug in the asm code.
|
Tue, 17 Feb 2009 23:14:19 +0100 |
Frits van Bommel |
Update .hgignore due to moved(?) idgen/impcnvgen locations.
|
Tue, 17 Feb 2009 19:08:38 +0100 |
Christian Kamm |
Fix for fix from [974].
|
Tue, 17 Feb 2009 18:57:11 +0100 |
Christian Kamm |
Fix #217. getInternalTypeInfo doesn't work with LDC.
|
Tue, 17 Feb 2009 18:53:15 +0100 |
Christian Kamm |
Allow 'return exp;' for void main().
|
Tue, 17 Feb 2009 18:25:34 +0100 |
Christian Kamm |
Fix #216 by implementing TypeExp::toElem. It just provides the appropriate
|
Tue, 17 Feb 2009 01:13:18 +0100 |
Frits van Bommel |
Change the way the version is printed (more verbose, with short hash)
|
Tue, 17 Feb 2009 00:08:20 +0100 |
Frits van Bommel |
Fix the problems exposed by the callingconv1.d test case.
|
Mon, 16 Feb 2009 23:56:56 +0100 |
Frits van Bommel |
Revert wilsonk's "fix" for the callingconv1.d problem.
|
Mon, 16 Feb 2009 23:56:56 +0100 |
Frits van Bommel |
Add some extra debug output that's useful in diagnosing inline assembler bugs.
|
Mon, 16 Feb 2009 19:31:10 +0100 |
Frits van Bommel |
Fix {,w,d}char handling in tests/mini/vararg6.d:print()
|
Mon, 16 Feb 2009 19:17:15 +0100 |
Christian Kamm |
Fix test on x86-32.
|
Mon, 16 Feb 2009 18:27:33 +0100 |
Christian Kamm |
Reduce size of integer constant make x86-64 asm parsing code compile on x86-32.
|
Sun, 15 Feb 2009 23:09:53 -0700 |
Kelly Wilson |
Merging fvbommels fix for asm8.d x86-64 code
|
Mon, 16 Feb 2009 01:43:14 +0100 |
Frits van Bommel |
Some changes I missed in my last commit (wound up in wrong patch file)
|
Sun, 15 Feb 2009 22:56:10 -0700 |
Kelly Wilson |
Fix for tests/mini/callingconv1.d
|
Sun, 15 Feb 2009 16:30:15 -0700 |
Kelly Wilson |
Fix 32 bit truncation of 'asm { movq RAX, 0xAA_1234_5678; }'...ie. move constant larger than 32 bits
|
Sun, 15 Feb 2009 16:26:12 -0700 |
Kelly Wilson |
Fix shl/r bad operand size error
|
Sun, 15 Feb 2009 21:44:03 +0100 |
Christian Kamm |
Add OSX version declaration for Mac OS X to improve dmd-mac compatibility.
|
Sun, 15 Feb 2009 18:04:22 +0100 |
Frits van Bommel |
Implement implicit return after inline asm on x86_64
|
Sun, 15 Feb 2009 14:54:36 +0100 |
Christian Kamm |
Static ctors/dtors added via template mixins should not be added to modules
|
Sun, 15 Feb 2009 14:50:33 +0100 |
Christian Kamm |
Backed out changeset [369996c08420].
|
Sun, 15 Feb 2009 11:46:28 +0100 |
Christian Kamm |
Change the numbering of static ctors/dtors to be module based instead of being global.
|
Sat, 14 Feb 2009 21:18:47 +0100 |
Christian Kamm |
Make sure debug info uses the right compilation units - in particular the
|
Sat, 14 Feb 2009 15:25:48 +0100 |
Tomas Lindquist Olsen |
Added support for using a temporary to implement emulated ABI return from inline asm, could be easier to use, but I think this will do. It's so extremely target dependent in any case that doing a completely generic approach seems hard.
|
Fri, 13 Feb 2009 22:20:30 +0100 |
Tomas Lindquist Olsen |
Merged a bunch recent dmd v1 frontend changes into the dmd v2 tree.
|
Thu, 12 Feb 2009 18:39:14 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Thu, 12 Feb 2009 18:39:03 +0100 |
Christian Kamm |
Now that we're using LLVM 2.5, we can stop always running the
|
Wed, 11 Feb 2009 08:32:33 -0700 |
Kelly Wilson |
Revert return value swapping on x86_64
|
Tue, 10 Feb 2009 08:02:25 -0700 |
wilsonk |
changes to get the naked asm stuff working for x64
|
Sun, 08 Feb 2009 21:44:46 +0100 |
Christian Kamm |
Revert templates to old behavior.
|
Sun, 08 Feb 2009 18:51:32 +0100 |
Christian Kamm |
Switch some getModule to getCompilationModule to make sure templates are
|
Sun, 08 Feb 2009 16:50:22 +0100 |
Christian Kamm |
Mostly rewrite debug info generation in terms of llvm/Analysis/DebugInfo.h.
|
Sun, 08 Feb 2009 05:26:54 +0100 |
Tomas Lindquist Olsen |
SWITCHED TO LLVM 2.5 !
|
Sun, 08 Feb 2009 05:14:24 +0100 |
Tomas Lindquist Olsen |
Fixed accessing function symbols from inline asm.
|
Thu, 05 Feb 2009 18:17:42 +0100 |
Tomas Lindquist Olsen |
Reverted the template instantiation changes from rev [940]. Wasn't safe it seems :(
|
Wed, 04 Feb 2009 20:47:27 +0100 |
Tomas Lindquist Olsen |
Reverted back to the LLVM_InlineAsm_X86 versions, a few more things still needs to be sorted out first.
|
Wed, 04 Feb 2009 18:51:11 +0100 |
Christian Kamm |
LDC should follow the D ABI now. Switch back from LLVM_InlineAsm_X86 to
|
Wed, 04 Feb 2009 18:48:03 +0100 |
Tomas Lindquist Olsen |
Changed the way LDC determines if a template instantiation needs to get a definition, seems to speed up compile times quite a bit in some cases.
|
Wed, 04 Feb 2009 18:39:39 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Wed, 04 Feb 2009 18:39:33 +0100 |
Christian Kamm |
Convert struct arg to integer when passing inreg to make sure LLVM doesn't
|
Wed, 04 Feb 2009 16:02:05 +0100 |
Tomas Lindquist Olsen |
Fixed warning on osx as per request from mwarning.
|
Wed, 04 Feb 2009 02:10:23 +0100 |
Tomas Lindquist Olsen |
Removed some dead code.
|
Tue, 03 Feb 2009 17:27:01 -0700 |
wilsonk |
Fixed an accidental code removal for osx
|
Wed, 04 Feb 2009 00:50:04 +0100 |
Tomas Lindquist Olsen |
Fixed problem with static ctors, in templated imported classes, not begin run. Fixes #203
|
Wed, 04 Feb 2009 00:04:09 +0100 |
Tomas Lindquist Olsen |
Replace assertion with errormessage for unsupported calling conventions. like Pascal. See dstress/run/e/extern_10_A.d
|
Tue, 03 Feb 2009 23:48:47 +0100 |
Tomas Lindquist Olsen |
Fixed dstress/run/a/array_initialization_17_A.d regression. default initialized static array elements in a constant static array initializer was getting incorrect values.
|
Tue, 03 Feb 2009 21:46:54 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Tue, 03 Feb 2009 21:46:46 +0100 |
Christian Kamm |
Follow the D ABI and pass the last arg in a register if it is a struct that fits.
|
Tue, 03 Feb 2009 12:43:03 -0700 |
wilsonk |
Changed this file to add 'naked' and a couple other missing instructions
|
Tue, 03 Feb 2009 12:35:00 -0700 |
wilsonk |
Added X86-64 version. Needed significant changes.
|
Tue, 03 Feb 2009 12:34:12 -0700 |
wilsonk |
Added X86-64 versioning
|
Tue, 03 Feb 2009 12:33:42 -0700 |
wilsonk |
Added X86-64 version
|
Tue, 03 Feb 2009 12:33:21 -0700 |
wilsonk |
Added X86-64 versioning
|
Tue, 03 Feb 2009 18:42:25 +0100 |
Tomas Lindquist Olsen |
Fixed problem accessing global variables from naked asm on osx.
|
Tue, 03 Feb 2009 18:14:30 +0100 |
Tomas Lindquist Olsen |
Added support for naked asm on OSX. (hopefully!)
|
Tue, 03 Feb 2009 18:11:39 +0100 |
Christian Kamm |
Apply naked changes of [920] to dmd2/
|
Tue, 03 Feb 2009 18:00:17 +0100 |
Christian Kamm |
Apply StaticStructInit changes from [913] to dmd2/
|
Tue, 03 Feb 2009 08:54:57 +0100 |
Tomas Lindquist Olsen |
Implemented proper support for naked asm using llvm module level asm. Still not 100% complete, but already 1000 times better that what we had before. Don's BignumX86 implementation from Tango (when turned into a standalone unittest) seems to fully work with no changes, and great performance :)
|
Mon, 02 Feb 2009 02:35:44 +0100 |
Tomas Lindquist Olsen |
Fixed assertion failure when object.d is missing the ModuleInfo class
|
Mon, 02 Feb 2009 01:44:51 +0100 |
Tomas Lindquist Olsen |
Changed templates and typeinfo to use linkonce linkage instead of weak linkage, this should fix inlining problems, fixing bug #197 . If problems show up, it's easy to change it back by changing the define in mars.h . I'm 95% sure this is safe, given how we handle templates.
|
Mon, 02 Feb 2009 00:58:36 +0100 |
Tomas Lindquist Olsen |
Removed use of TARGET_LINUX and replaced with POSIX, fixes bug [172]
|
Mon, 02 Feb 2009 00:34:22 +0100 |
Tomas Lindquist Olsen |
Renamed Rebuild profile to match DSSS and Tango convention.
|
Mon, 02 Feb 2009 00:26:32 +0100 |
Tomas Lindquist Olsen |
Fix bug #199
|
Sun, 01 Feb 2009 23:30:36 +0100 |
Tomas Lindquist Olsen |
Fixed bug #191 by rewriting DtoConstArrayInitializer, patch unfortunately caused regressions, hopefully this doesn't :P
|
Sun, 01 Feb 2009 20:20:56 +0100 |
Christian Kamm |
Fix #198 and #199 by making CTFE on static struct initializers work.
|
Fri, 30 Jan 2009 07:51:50 +0100 |
Christian Kamm |
_d_delarray also had one of the array consistency asserts mentioned in #184
|
Thu, 29 Jan 2009 17:59:25 +0100 |
Christian Kamm |
Fix typo in [909].
|
Thu, 29 Jan 2009 17:45:12 +0100 |
Christian Kamm |
Remove asserts on array consistancy in arraysetlength. Fixes #184, thanks Deewiant.
|
Thu, 29 Jan 2009 17:19:48 +0100 |
Christian Kamm |
Port some LDC1 portability fixes to LDC2. Fixes #196.
|
Thu, 29 Jan 2009 16:56:48 +0100 |
Christian Kamm |
Apply patch for #193. Thanks fvbommel.
|
Sun, 25 Jan 2009 12:38:29 +0100 |
Christian Kamm |
Add testcase for #189 to mini tests.
|
Sun, 25 Jan 2009 12:35:11 +0100 |
Christian Kamm |
Casts from interface to class generally need to be dynamic. Fixes #189.
|
Sat, 24 Jan 2009 00:33:06 +0100 |
Christian Kamm |
Applied doob's patch to port GDC's Dyld data segment tracking for Mac.
|
Fri, 23 Jan 2009 13:41:03 +0100 |
Christian Kamm |
Fix bug #177 by not attempting to define composite debug info for
|
Fri, 23 Jan 2009 10:13:27 +0100 |
Christian Kamm |
Further Solaris data segment detection fixes. Thanks BlueZeniX!
|
Fri, 23 Jan 2009 10:12:57 +0100 |
Christian Kamm |
Add -m64 switch to gcc calls on 64-bit platforms.
|
Thu, 22 Jan 2009 21:46:40 +0100 |
Christian Kamm |
Fix #174.
|
Thu, 22 Jan 2009 18:53:32 +0100 |
Christian Kamm |
Solaris compatibility and proc map parsing #183, thanks BlueZeniX!
|
Thu, 22 Jan 2009 18:23:30 +0100 |
Christian Kamm |
Add wilsonk's static data segment finding code for x86-64 from #181. Thanks!
|
Thu, 22 Jan 2009 17:57:38 +0100 |
Christian Kamm |
Add headers for HP's libunwind, currently unused though.
|
Thu, 22 Jan 2009 17:50:38 +0100 |
Christian Kamm |
Fix x86-64 exception handling #180. Thanks pcwalton!
|
Thu, 22 Jan 2009 17:26:50 +0100 |
Tomas Lindquist Olsen |
Makes sure only function definitions inside templates get weak linkage, llvm doesn't allow weak linkage on just declarations, so we use external linkage for those. Fixes #162
|
Mon, 19 Jan 2009 19:42:00 +0100 |
Christian Kamm |
Apply pcwalton's eh runtime portability fix.
|
Mon, 19 Jan 2009 19:34:51 +0100 |
Christian Kamm |
Don't use /proc/self/map for finding the static data segment on x86-64 for
|
Sun, 18 Jan 2009 14:14:40 +0100 |
Christian Kamm |
Remove optimizer syntax copies where they weren't proven to be necessary.
|
Sun, 18 Jan 2009 13:18:31 +0100 |
Christian Kamm |
Also apply custom allocator size_t change to DMD2 frontend.
|
Sun, 18 Jan 2009 13:10:19 +0100 |
Christian Kamm |
Change custom allocator new size argument to size_t instead of uint. See #175.
|
Sat, 17 Jan 2009 17:52:09 +0100 |
Christian Kamm |
Apply afb's patch from #168 to use $CC instead of "gcc" for toobj and linker.
|
Sat, 17 Jan 2009 17:44:54 +0100 |
Christian Kamm |
Fix #165, thanks afb.
|
Sat, 17 Jan 2009 17:41:03 +0100 |
Christian Kamm |
Fix #164.
|
Sat, 17 Jan 2009 14:53:32 +0100 |
Christian Kamm |
Fix #163.
|
Fri, 16 Jan 2009 21:06:33 +0100 |
Christian Kamm |
Typo fix in rebuild profile. Thanks BlueZeniX.
|
Mon, 12 Jan 2009 07:55:17 +0100 |
Christian Kamm |
tag 0.9 revision
|
Mon, 12 Jan 2009 07:51:39 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Thu, 08 Jan 2009 18:20:02 +0100 |
Christian Kamm |
GC defines and linkage changes.
|
Sat, 10 Jan 2009 14:37:48 +0100 |
Tomas Lindquist Olsen |
same fix appled to dmd2 frontend
|
Sat, 10 Jan 2009 14:35:48 +0100 |
Tomas Lindquist Olsen |
Fixed 64bit problem in mtype.c with _adReverse runtime call, fixes #161 .
|
Fri, 09 Jan 2009 20:08:06 +0100 |
Tomas Lindquist Olsen |
Fixed bad return types in typinf.cpp
|
Fri, 09 Jan 2009 19:36:56 +0100 |
Tomas Lindquist Olsen |
Removed extraneous "|| __APPLE__" in dmd/man.c, 1.039 adds an __APPLE__ specific implementation, thanx Scriptor.
|
Thu, 08 Jan 2009 16:49:04 +0100 |
Christian Kamm |
Update to license to adjust inline asm file names and years.
0.9
|
Thu, 08 Jan 2009 15:31:13 +0100 |
Christian Kamm |
Move adding IrSymbols to global list out of assert.
|
Wed, 07 Jan 2009 19:34:48 +0100 |
Tomas Lindquist Olsen |
Merged DMD 1.039
|
Tue, 06 Jan 2009 16:33:51 +0100 |
Tomas Lindquist Olsen |
Merged DMD 1.038
|
Tue, 06 Jan 2009 15:54:48 +0100 |
Christian Kamm |
Get rid of ex-Tango patch. (merged into Tango)
|
Mon, 05 Jan 2009 21:11:47 +0100 |
elrood |
fix unnecessary revisions.h regeneration and mars.c recompilation
|
Sun, 04 Jan 2009 15:49:28 +0100 |
Christian Kamm |
Apply BlueZeniX's patch for OpenSolaris compatibility. Fixes #158.
|
Sun, 04 Jan 2009 15:39:34 +0100 |
Christian Kamm |
Apply duane's patch for align power-of-two checking in inline asm. Fixes #159
|
Tue, 30 Dec 2008 11:42:01 +0100 |
Christian Kamm |
Fix #153. Factor out common code in StructLiteralExp::to(Const)Elem.
|
Sat, 27 Dec 2008 16:07:23 +0100 |
Christian Kamm |
Backed out changeset 1fcba307fd28
|
Sat, 27 Dec 2008 15:54:24 +0100 |
Christian Kamm |
Changed bswap intrinsic definition in compiler specific runtime to actually
|
Sat, 20 Dec 2008 09:29:36 +0100 |
Christian Kamm |
Rename test to accepted name.
|
Sat, 20 Dec 2008 09:15:46 +0100 |
Christian Kamm |
Automated merge with http://hg.dsource.org/projects/ldc
|
Sat, 20 Dec 2008 09:15:31 +0100 |
Christian Kamm |
Add missing overrides for toConstExp to dmd2/expression.h. Fixes #156.
|
Sat, 20 Dec 2008 09:13:44 +0100 |
Christian Kamm |
Adjust error message for missing toConstExp to include 'is not a const exp'.
|
Thu, 18 Dec 2008 19:24:33 +0100 |
elrood |
modified gen/linker.cpp to only append .exe suffix on windows if not already present
|
Thu, 18 Dec 2008 19:21:44 +0100 |
elrood |
temporary fix for runtime buildscript to copy ldc's imports to tango
|
Thu, 18 Dec 2008 08:09:01 +0100 |
Christian Kamm |
Add #154 testcase.
|
Thu, 18 Dec 2008 07:59:03 +0100 |
Christian Kamm |
Add more toConstElem stubs to get better error messages.
|
Wed, 17 Dec 2008 21:24:17 +0100 |
Christian Kamm |
Applied modification of wilsonk's patch for AndAnd and OrOrExp for void rhs funcs.
|
Wed, 17 Dec 2008 21:03:06 +0100 |
Christian Kamm |
Remove some dead code.
|
Wed, 17 Dec 2008 20:40:27 +0100 |
Christian Kamm |
Apply wilsonk's patch to AddrExp::toConstElem for struct literals.
|
Wed, 17 Dec 2008 18:20:45 +0100 |
Christian Kamm |
Apply phobos patch by downs.
|