Commit Graph

13 Commits

Author SHA1 Message Date
Christian Kamm
2f479df1b2 Fix atomicIncr and atomicDecr. Probably.
The unittest for tango.core.Atomic now passes.
2008-09-21 18:41:27 +02:00
Christian Kamm
4f7f53fa04 Add bool-special cases in tango.core.Atomic. 2008-09-21 17:23:17 +02:00
Christian Kamm
a81a6367b4 Tango rev 3939 fixed the std.intrinsic issue. 2008-09-19 21:45:05 +02:00
Tomas Lindquist Olsen
14e9384b23 Removed dmdintrinsic.d from the runtime, we already have llvmdc.bitmanip.
Updated tango patch to import tango.core.BitManip instead of std.intrinsic.
2008-09-18 21:14:37 +02:00
Tomas Lindquist Olsen
f3269bf51e Gah, missed something still. I'll test properly next time ;) 2008-08-24 17:13:40 +02:00
Tomas Lindquist Olsen
6d2011394e Made a small mistake in the Tango patch 2008-08-24 17:11:02 +02:00
Tomas Lindquist Olsen
b41a80cefc Reverted some changes in the Tango patch, splitting asm block is simply not supported by llvm. 2008-08-24 16:51:17 +02:00
Tomas Lindquist Olsen
b5a54a5a1c Updated the tango patch, removed some now unnecessarily complex inline asm. 2008-08-21 15:35:24 +02:00
Tomas Lindquist Olsen
6c78396d11 Updated tango patch, with rewrittten Atomics using llvm atomic intrinsics. 2008-08-20 19:03:28 +02:00
Tomas Lindquist Olsen
18b376ba66 Added generation of the llvm 'sret' parameter attribute where applicable.
Fixed some wrong argument handling code when setting parameter attributes.
Updated the tango unittest script in the tango patch, does not work yet, all modules don't compile...
2008-08-02 02:54:57 +02:00
Tomas Lindquist Olsen
9b45fc5533 Changed the handling of variadic intrinsics a bit.
Removed the -fp80 option and made real be 80bit floats on X86, this is what the D spec really says it should be and fixes a bunch of issues.
Changed the handling of parameter attributes to a bit more generalized approach.
Added sext/zext attributes for byte/short/ubyte/ushort parameters, fixes #60 .
Parameter attribs now properly set for intrinsic calls if necessary.
Made the tango.math.Math patch less intrusive.
Fixed/added some mini tests.
2008-08-01 17:59:58 +02:00
Tomas Lindquist Olsen
858dd3e4fa Updated tango patch. tango.math.Math was incorrect. 2008-08-01 01:12:33 +02:00
Tomas Lindquist Olsen
07cfb67178 Removed tango from the repository and instead added a runtime dir with the files needed to patch and build tango from svn.
Reworked the LLVMDC specific pragmas.
2008-08-01 00:32:06 +02:00