Commit Graph

255 Commits

Author SHA1 Message Date
Borja Ferrer
45860880ef Executable memory is now provided by MM:S's allocator, this should reduce virtual memory usage.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401900
2008-02-23 20:18:49 +00:00
David Anderson
512ec74819 cross-compiling
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401874
2008-01-30 20:51:07 +00:00
David Anderson
e553996281 fixed amb1408 - compiler did not warn about invalid public usage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401864
2008-01-23 03:18:36 +00:00
David Anderson
85eaa31374 fixed amb1400 - invalid dereference caused crash in ternary operators
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401862
2008-01-22 17:30:58 +00:00
David Anderson
97062c4de8 removed -msse from JIT
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401856
2008-01-19 16:47:31 +00:00
David Anderson
fd1f271e87 removed SSE requirement for JIT
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401847
2008-01-10 18:27:52 +00:00
David Anderson
ad5ef39cb4 patched amb1296 - multi-d r-values are now impossible
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401818
2007-12-22 05:16:18 +00:00
David Anderson
f187f1eb8a fixed amb1225 - extremely rare compiler bug could cause crash. unluckily, this suddenly started breaking the linux build, which should now work again
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401781
2007-12-08 17:31:44 +00:00
David Anderson
11c5ce6996 fixed amb1061 - wrong compiler name in comment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401660
2007-10-30 01:27:25 +00:00
David Anderson
2df94fb594 fixed amb887 - 4d+ arrays were generated wrong
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401478
2007-09-25 21:45:25 +00:00
David Anderson
840c6236d0 made the indirection vector generation dimension count check a little safer
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401439
2007-09-16 05:15:46 +00:00
Borja Ferrer
93581bb296 enabled SSE code in all dlls
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401408
2007-09-10 22:28:22 +00:00
David Anderson
7a02c6b9c2 fixed JIT portion of amb887 - dynamic local arrays with more than 3 dimensions (i.e. >=3 levels of indirection) would have bad indirection tables, corrupting memory and/or crashing on r/w
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401402
2007-09-03 17:55:43 +00:00
Scott Ehlert
a1009aed38 Updated license headers on virtually all files with extremely minor changes in the name of some sort of strange consistency.
All plugin and include file headers also have been changed to say about GPL3 instead of GPL2.

(This day shall henceforth be known as the Eighty Column Massacre of '07)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401336
2007-08-15 06:19:30 +00:00
David Anderson
afb58cfd67 outputs to stdout now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401319
2007-08-12 20:02:07 +00:00
Scott Ehlert
ed88587a2f Fixed a compiler crash on Linux when the include directory didn't exist
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401318
2007-08-12 05:54:09 +00:00
Christian Hammacher
9f4a682a1f fixed dynamic output dir for drag+drop
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401310
2007-08-10 22:43:44 +00:00
Christian Hammacher
5d195c6560 fixed drag&drop bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401309
2007-08-10 22:29:54 +00:00
Christian Hammacher
c2e2c5bfda Fixed bug where error messages weren't displayed; changed icon; added optional compiler.ini to set default output directory (Section "Main", Key "Output")
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401308
2007-08-10 20:00:08 +00:00
Scott Ehlert
fb2e5dc142 Fixed crash/freeze bug in compiler where free was being used on a bad pointer (was an oversight when adding deprecation support for macros)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401273
2007-08-07 22:03:11 +00:00
Scott Ehlert
c9adfc56ec #pragma deprecated now works on macros/constants created via #define
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401272
2007-08-07 18:55:44 +00:00
Scott Ehlert
8ab3a324e2 Fixed compiler bug where #pragma deprecated would emit a warning twice for stocks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401271
2007-08-06 22:26:28 +00:00
David Anderson
8c7e006d90 added a build of sniperbeamer's batch compiling tool for sourcemod
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401254
2007-08-02 00:19:47 +00:00
Borja Ferrer
0896da915a fixed divine bug amb657, having a misaligned stack would crash on SSE instructions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401172
2007-07-25 05:02:58 +00:00
David Anderson
9ce839e331 disabled stack recursion detection for now - found a case where it breaks :(
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401170
2007-07-25 02:48:52 +00:00
David Anderson
172b3e8ab8 new jit api versioning scheme for amb398
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401153
2007-07-23 19:12:54 +00:00
Borja Ferrer
8a8e6ef594 added experimental optional natives (part 1)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401095
2007-07-12 02:57:43 +00:00
David Anderson
998c9dc574 fixed a bug where too many hex digits were read for \x
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401057
2007-07-07 18:46:40 +00:00
David Anderson
16c35c458e fixed amb514
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401052
2007-07-07 16:31:57 +00:00
David Anderson
9f38f9ae90 fixed a regression bug from the last commit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401051
2007-07-07 16:21:34 +00:00
David Anderson
d8d13f1920 added the ability for the compiler to directly reference another address in a default argument (for arrays only)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401050
2007-07-07 15:36:54 +00:00
Scott Ehlert
2884483bef Fixed amb363 - Compiler reports wrong line number for unused global symbols
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40882
2007-06-05 05:45:48 +00:00
Scott Ehlert
d48e1f358e Disabled RTTI in all MSVC project files - this has the side effect of reducing the size of some Windows binaries
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40871
2007-05-30 04:54:35 +00:00
Scott Ehlert
dd2986d1d8 Fixed amb333 - compiler crash when attempting to call native without parentheses
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40861
2007-05-24 04:37:20 +00:00
Borja Ferrer
df9b23948b JIT memory code is properly aligned now to 16 bytes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40859
2007-05-23 23:42:04 +00:00
Scott Ehlert
6dc9c923f4 Compiler uses local build number now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40856
2007-05-23 20:22:31 +00:00
Scott Ehlert
6f7f487275 amb318 - The warning message for tag mismatches with functags has been changed to "function prototypes do not match"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40850
2007-05-23 07:23:24 +00:00
Scott Ehlert
273d146ee1 Oh, err. Fixed a small problem where errors 100-119 could be shown as fatal rather than normal error messages.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40849
2007-05-23 05:17:03 +00:00
David Anderson
8a086fa820 fixed bug amb331 (compiler freeze on certain arrays)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40848
2007-05-23 03:21:40 +00:00
Scott Ehlert
cf889d1346 New descriptive error messages concerning structs
Increased possible error messages to 119: Fatal error messages now start at 120 instead of 100.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40847
2007-05-23 03:05:35 +00:00
Borja Ferrer
3f68917040 should build on linux now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40838
2007-05-22 15:42:18 +00:00
Borja Ferrer
e60940834b added floating point optimizations to the JIT
standarised a bit more x86_macros.h
some asm optimizations to bintools extension

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40837
2007-05-22 15:15:51 +00:00
Scott Ehlert
a322067b83 Reduced size of Windows compiler binary a tad
(Maybe it's just me, but this zlib compression issue doesn't look like a msvc8 codegen bug afterall)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40834
2007-05-22 03:38:44 +00:00
David Anderson
f17a61e709 fixed a compiler bug where the native table indexes were not exported correctly for aliases. thus pure float operators would be bound to the wrong natives
removed a debug assert

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40810
2007-05-16 19:52:24 +00:00
David Anderson
1a77530c93 fixed a bug where the JIT initiated the optimized stack top boundary check with a doubly relocated address, causing a rare bug with stack operations
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40806
2007-05-16 01:17:14 +00:00
David Anderson
98bf124013 compiler now gets its own versioning, finally
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40805
2007-05-15 04:59:48 +00:00
David Anderson
c9bc46e770 core will now ignore missing natives starting with '@'
the compiler will now resolve aliased natives to single references and export '@' natives for each redundant entry

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40804
2007-05-15 04:59:24 +00:00
Scott Ehlert
a0486eea8c Fixed amb290 - Some incorrect reporting of tag mismatches with the 'any' tag
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40799
2007-05-14 19:32:38 +00:00
Borja Ferrer
b0a32b39c2 fixed bug in amb284
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40794
2007-05-13 21:45:40 +00:00
Scott Ehlert
11bd835e55 A pointless commit heading your way.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40785
2007-05-13 05:24:01 +00:00