Commit Graph
65 Commits
Author SHA1 Message Date
Kelly Wilson 5d0f918e9e Fix cmpxchg16b instruction for asm blocks. Thanks to wolfwood from the Xomb project for this fix. 2011-05-05 20:56:46 -06:00
Kelly Wilson 9e5b0e79e2 Fix up ldc.conf to reflect newer naming convention for tango lib. 2011-04-26 09:16:33 -06:00
Kelly Wilson 72ea043124 Recommit klickverbot's patch for LLVM-2.9. 2011-04-20 09:28:37 -06:00
Kelly Wilson 7c81278b9c Backed out changeset 5253bfbb3890 2011-04-20 00:28:23 -06:00
Kelly Wilson b26b0f4196 Upgrade to LLVM-2.9. Thanks to David Nadlinger for the patch. 2011-04-19 21:57:15 -06:00
Kelly Wilson 11cbacf9da Fix for ticket #440 by klickverbot. Thx. 2011-01-02 00:42:10 -05:00
Kelly Wilson badb597962 Change the ldc.conf file output to match the newer Tango directory structure and only use libtango-user-ldc for the libs to match the 0.99.9 build instructions. 2010-03-10 20:21:05 -07:00
Kelly Wilson dd6a54d442 Strange workaround for returning from within 'void main()'. The new dmdfe sets the ReturnStatement->exp to null. Fixed bug #391. 2010-03-10 19:35:14 -07:00
Kelly Wilson b38845e88e Apply patch from klickverbot. This is his 'proper fix' patch for bug #395. 2010-03-08 23:37:40 -07:00
Kelly Wilson 902bc06fb1 Revert 1637 because it breaks HelloWorld with Tangos Stdout. There may be another way to fix this so that Deewiants case works, as well as Tango. 2010-03-08 23:10:26 -07:00
Kelly Wilson 43f243eeb5 Add missing files for the new frontend spell checker 2010-03-08 17:41:36 -07:00
Kelly Wilson 05c466fc4a Fix typo for iretq 2010-02-25 17:12:54 -07:00
Kelly Wilson ab325e6214 Revert fix by Robert for downs as it causes a segfault when compiling tango. 2009-12-23 22:49:20 -07:00
Kelly Wilson 5d0cdd6157 Fixed iretq problem reported by wilkie of the XomB project 2009-08-17 13:42:19 -06:00
Kelly Wilson 0c1b6e27d9 fix problem reported in ticket 327 - thanks d0k 2009-06-16 08:57:20 -06:00
Kelly Wilson 243a9bc4a6 There was another fix needed here for reading %%ldcbinarypath%% 2009-06-04 18:36:07 -06:00
Kelly Wilson 690ca32c0c Fix memory leak in configfile.cpp...probably the only one in ldc! 2009-06-04 16:46:05 -06:00
Kelly Wilson d21e61b8b8 merging 2009-06-04 16:06:35 -06:00
Kelly Wilson 7bf64922f5 Fix for finding ldc.conf file with mingw 2009-06-04 16:04:26 -06:00
Kelly Wilson 19149bc542 change mingw32 versioning to version(Windows) 2009-05-31 11:20:26 -06:00
Kelly Wilson 23919b4de4 fix assembly code for mingw32 in minitests 2009-05-31 11:01:02 -06:00
Kelly Wilson 008d81afb0 Fix "garbage at end of line" errors on mingw...shouldn't affect linux/macosx 2009-05-31 09:10:33 -06:00
Kelly Wilson 2e6e578ea1 Fix test for mingw 2009-05-30 14:57:48 -06:00
Kelly Wilson 3eb4a4d389 merging 2009-05-30 14:36:00 -06:00
Kelly Wilson 71477fcb8c Forgot one windows underscore for asm output 2009-05-30 14:35:03 -06:00
Kelly Wilson e35b95f35e merging 2009-05-29 01:09:38 -06:00
Kelly Wilson 01c608f457 Fix - add Path.native for mingw support...thanks mp4/jaffa 2009-05-29 01:08:39 -06:00
Kelly Wilson 1ec75f0536 merging 2009-05-27 12:42:28 -06:00
Kelly Wilson cab7aeb843 just a simple change to cmake for mingw 2009-05-27 12:41:41 -06:00
Kelly Wilson a178d9563d Fix for mingw32 segfault 2009-05-23 14:59:04 -06:00
Kelly Wilson 16a2512808 remove extra 'test' instructions and fix 'test' properly 2009-05-19 12:28:44 -06:00
Kelly Wilson 8941b6960c fix missing 'test' mnemonic and add several variations 2009-05-19 11:58:54 -06:00
Kelly Wilson c60ce29bde fix wrong arg order for fmul/fadd 2009-05-05 11:51:00 -06:00
Kelly Wilson d21cdb1df0 Changes for mingw to compile properly 2009-04-22 14:49:49 -06:00
Kelly Wilson 5c4455a394 Change needed for mingw 2009-04-22 14:40:56 -06:00
Kelly Wilson 7a1052a2fc Some more fixups for mingw -- missing underscores 2009-04-02 17:27:53 -06:00
Kelly Wilson e2d6a94271 Fix one more naked asm output problem for mingw32 and remove some
duplicate code
2009-03-30 18:22:30 -06:00
Kelly Wilson aae3d56e32 Fix up some naked asm output for mingw32 2009-03-30 18:18:23 -06:00
Kelly Wilson 2a396614ad Fix 32bit "+2" typo for Outbuffer::reserve 2009-03-13 07:17:29 -06:00
Kelly Wilson ff33ed6d74 Revert removal of "+2" from Outbuffer::reserve function for x64. Unless
somone can fix this properly, then the "+2" must stay in or tango won't
build.
2009-03-12 17:10:24 -06:00
Kelly Wilson 6e44efb9d2 Logic error fix 2009-03-11 13:54:29 -04:00
Kelly Wilson e5a4e4cb41 Fix FS:4 problem for x32 2009-03-11 12:13:41 -04:00
Kelly Wilson 15a19c738f Fix FS:4 miswrite due to earlier changes for a constant displacement 2009-03-11 09:16:41 -06:00
Kelly Wilson cff2c92fd3 Change faulty offset for asm in Cache.d (ie. change "-20(%rbp)+4)" to
"4+-20(%rbp)")
2009-03-11 00:08:45 -04:00
Kelly Wilson 85090ef9c9 Change x64 asm in Cache.d from a positive offset from after rbp "-20(%rbp)+4" to before
"4+-20(%rbp)"
2009-03-10 22:02:11 -06:00
Kelly Wilson 40887efe59 Fix for x32 fmul/div/add/sub with no operands. 2009-03-10 20:40:22 -04:00
Kelly Wilson 58d34a9660 Fix for fmul/div/add/sub with no operands. Revert explicit ST0 definition since a typo
had caused the need for that.
2009-03-10 18:34:19 -06:00
Kelly Wilson 2d11484649 fix fistp properly for x32 2009-03-10 13:59:50 -04:00
Kelly Wilson d13e841511 Merging 2009-03-10 11:08:35 -06:00
Kelly Wilson e59c7db637 Properly fix fistp for x64 2009-03-10 11:06:38 -06:00
Kelly Wilson 0d2e665fc4 Fix for dual operand form of fistp, also make reg ST(0) explicit and fix lindquists
previous code that allowed dual operand form of fstp but dissallowed the single
operand form accidently
2009-03-10 06:23:26 -06:00
Kelly Wilson da7fdb94f7 Fix for asm { jle short Lret; }, used by Tango since dmd accepts the 'short'. We just
throw the 'short/long' away right now.
2009-03-09 20:11:42 -06:00
Kelly Wilson 093a22d1d2 Just forgot an opcode for x64 2009-02-28 18:17:45 -07:00
Kelly Wilson 62e0f85043 Merging fvbommels fix for asm8.d x86-64 code 2009-02-15 23:09:53 -07:00
Kelly Wilson b77c44b7dc Fix for tests/mini/callingconv1.d 2009-02-15 22:56:10 -07:00
Kelly Wilson 7ea5df5a26 Fix 32 bit truncation of 'asm { movq RAX, 0xAA_1234_5678; }'...ie. move constant larger than 32 bits 2009-02-15 16:30:15 -07:00
Kelly Wilson cc02076479 Fix shl/r bad operand size error 2009-02-15 16:26:12 -07:00
Kelly Wilson 6511dc8239 Revert return value swapping on x86_64 2009-02-11 08:32:33 -07:00
Kelly Wilson 707c7bc29f changes to get the naked asm stuff working for x64 2009-02-10 08:02:25 -07:00
Kelly Wilson 6cd6ddd237 Fixed an accidental code removal for osx 2009-02-03 17:27:01 -07:00
Kelly Wilson 4ab57fab42 Changed this file to add 'naked' and a couple other missing instructions 2009-02-03 12:43:03 -07:00
Kelly Wilson e033781188 Added X86-64 version. Needed significant changes. 2009-02-03 12:35:00 -07:00
Kelly Wilson fe5c047568 Added X86-64 versioning 2009-02-03 12:34:12 -07:00
Kelly Wilson d969e0b1cb Added X86-64 version 2009-02-03 12:33:42 -07:00
Kelly Wilson be38aa3e3a Added X86-64 versioning 2009-02-03 12:33:21 -07:00