Commit graph

  • 5e54db46c4 Some statistics as Samual wanted. Dale Weiler 2013-08-14 04:08:00 +0000
  • b654594adb Disable statistics that are irrelevant to QuakeC coders Dale Weiler 2013-08-14 03:24:00 +0000
  • b10a2d1fd5 Remove the attempt at ast_intrinsic node Dale Weiler 2013-08-14 03:05:14 +0000
  • 216330a7e2 Some intrinsic cleanups Dale Weiler 2013-08-14 03:03:49 +0000
  • 90e2e5a4ad Some typos Dale Weiler 2013-08-14 02:07:12 +0000
  • 7669a99c7f increment the optimization counter for DCE'd folds, also enable -O3 for compilation. Dale Weiler 2013-08-01 14:24:10 +0000
  • 69c4dce477 Testsuite now returns the correct value on test failures (also prints how many tests failed .. if any fail) Dale Weiler 2013-08-01 07:20:02 +0000
  • db69d14995 Disable the macros to keep clang happy (just uncomment them for when more constant folding optimizations need them) Dale Weiler 2013-08-01 07:12:21 +0000
  • 6f749d61b1 Added -Oconst-fold-dce (dead code elimination optimization for when constant expressions form the basis of the dead code, i.e if else with constant expression). Fixed deps and added documentation. Cleaned up folds for ir_value (can now use the same macros as the ast_value ones). Dale Weiler 2013-08-01 07:07:59 +0000
  • 24fc2e5146 Fix that typecast Dale Weiler 2013-07-31 19:36:09 +0000
  • 10b75fd8b9 Move const-branch-elision into fold.c Dale Weiler 2013-07-31 19:34:38 +0000
  • 3e24b5a74b Remove debugging aid and left over cruft. Dale Weiler 2013-07-31 18:54:38 +0000
  • 960cb7034a The problem was so subtle Dale Weiler 2013-07-31 18:53:00 +0000
  • 3fa74da2b5 Fixes Dale Weiler 2013-07-31 17:24:32 +0000
  • 5f2b7e3d57 fixed vector ops constant folding. Dale Weiler 2013-07-31 17:05:43 +0000
  • d0ee56f25f more fixes Dale Weiler 2013-07-31 16:31:45 +0000
  • 1538e69f93 Fixes Dale Weiler 2013-07-31 15:56:56 +0000
  • fa5ad1212e Operator constant folding rewrite almost complete, just need to track down why two tests are failing. Dale Weiler 2013-07-31 15:49:45 +0000
  • 86adb94d7d folding for lteqgt (less than equal to or greater than) operator a.k.a <=> which maps values to -1,0,1 depending on the result (think of the result as a troolan) .. it's a perl thing :P Dale Weiler 2013-07-31 12:59:34 +0000
  • 9ed62eee58 Feed clang demon Dale Weiler 2013-07-31 12:17:52 +0000
  • c3da9b237b && and || op folding Dale Weiler 2013-07-31 12:11:03 +0000
  • b0460de935 Fold for div op Dale Weiler 2013-07-31 11:48:43 +0000
  • 8dd125c8f3 Added constant folding support for '*' .. Clever ascii trick prevail :D Dale Weiler 2013-07-31 10:40:17 +0000
  • 5e38c800f6 Some cleanups and more support for constant folding. Dale Weiler 2013-07-31 09:56:45 +0000
  • 920dbaf1e0 Work in progress constant-folding rewrite. Dale Weiler 2013-07-31 09:04:19 +0000
  • d8b931fbcf Experimental/Initial try at in-ast constant folding. (for TYPE_FLOAT currently .. since comparisions on UTF8 strings need to be worked out yet ..) Dale Weiler 2013-07-30 18:06:42 +0000
  • 2c975fe48f I'm in a state of confusion as to why constant folding was never done on comparisions, now it is ;) Dale Weiler 2013-07-30 17:27:54 +0000
  • d6ca5673dc Use the _t consistency naming scheme. Also various cleanups. Dale Weiler 2013-07-30 16:00:51 +0000
  • a9ab865add Move some things around Dale Weiler 2013-07-30 15:32:24 +0000
  • c8c25ef6f7 Some cleanups and smaller binaries! Dale Weiler 2013-07-28 00:23:15 +0000
  • 6c0c7aac0f cherry-pick diagnostics testsuite into cooking. We can now create compiler diagnostic tests, i.e if the compiler errors on syntax, we can match the error messages. Dale Weiler 2013-07-28 00:02:48 +0000
  • 9e2b17e715 Merge pull request #116 from ignatenkobrain/cooking Dale Weiler 2013-07-27 11:29:14 -0700
  • ab79dbd22a add instruction Igor Gnatenko 2013-07-27 22:24:43 +0400
  • 23af0c0209 add updated spec and rename it Igor Gnatenko 2013-07-27 22:09:39 +0400
  • bee93f28b3 not needed yet Igor Gnatenko 2013-07-27 22:08:43 +0400
  • d684e99d86 Clear out for now. Dale Weiler 2013-07-27 17:57:29 +0000
  • 557ad9da1a Make COMPILER_QCC default to please the stuborn Quake community. Dale Weiler 2013-07-27 17:56:46 +0000
  • ec0aaa72a3 Some typos Dale Weiler 2013-07-27 16:39:17 +0000
  • ce7a9d5a3d Not to be included Dale Weiler 2013-07-27 16:35:15 +0000
  • 0291726c09 Fedora spec files (0.2.9 and 0.3.0) + INSTALL documentation, thanks Igor Gnatenko. Dale Weiler 2013-07-27 16:33:33 +0000
  • c7679722fb Please the whitespace gods Dale Weiler 2013-07-27 11:48:55 +0000
  • 8db9724c5d Revert "Smaller memory footprint, 4/8 bytes vs 12/24 for individual token lex_ctx's. Use to be a 'shallow' copy of the details in lex_file, now it's a pointer to the contents in lex_file." Dale Weiler 2013-07-26 16:17:41 +0000
  • cddf70f46b Smaller memory footprint, 4/8 bytes vs 12/24 for individual token lex_ctx's. Use to be a 'shallow' copy of the details in lex_file, now it's a pointer to the contents in lex_file. Dale Weiler 2013-07-26 16:09:26 +0000
  • 4a3794ea2b Track strdup memory too Dale Weiler 2013-07-26 14:57:21 +0000
  • 44d5481828 There was too many 16-sized buckets when compiling xonotic, increase the size: this is cheaper on memory and slightly faster. Dale Weiler 2013-07-26 14:50:37 +0000
  • 629fe05083 Fix the ctype replacements to work with macro arguments that have side-effect, with exception to isspace which *might* need to become a function. Dale Weiler 2013-07-26 12:28:02 +0000
  • d411d60685 Eeasy fix for that Dale Weiler 2013-07-21 22:07:22 +0000
  • 2bfea938b3 One last one Dale Weiler 2013-07-21 22:00:07 +0000
  • 96ec279663 Another one Dale Weiler 2013-07-21 21:56:03 +0000
  • 697ad9d3a7 Technically GCC was wrong here, since opts_ini_parse is guranteed to change error. Dale Weiler 2013-07-21 21:51:34 +0000
  • 764b9abaf4 Cleanups Dale Weiler 2013-07-19 11:43:22 +0000
  • 84ad8ec37a Update gmqcc.ini.example Dale Weiler 2013-07-04 15:24:55 -0400
  • 17318af62f fix typo Wolfgang Bumiller 2013-07-01 10:37:51 +0200
  • b39a748984 actually no :) Wolfgang Bumiller 2013-06-22 20:31:50 +0200
  • b534aca263 Fix a case of the uninitialized blues Dale Weiler 2013-06-22 02:25:19 +0000
  • adc9e7bf22 Fix some more bugs (coverity you're a life saver) Dale Weiler 2013-06-22 02:05:04 +0000
  • 560b45dd16 Buffer overflow! Dale Weiler 2013-06-22 01:58:20 +0000
  • bbffdde2dc Fix some bugs and a memleak in the testsuite. Dale Weiler 2013-06-22 01:56:22 +0000
  • 063c50fce4 More bug fixes and dead code elimination Dale Weiler 2013-06-22 01:23:59 +0000
  • 5429b6f189 Fix out of bound access Dale Weiler 2013-06-22 01:16:24 +0000
  • d39fb653aa Fix some more bugs, and use dup2 because dup leaks on some implementations. Dale Weiler 2013-06-22 01:14:13 +0000
  • e08f00bfcd Update clean rules in makefiles to remove coverity stuff Dale Weiler 2013-06-22 00:16:44 +0000
  • edf59e4f73 Fixed possible bug in VM. Added coverity rules to makefiles. Dale Weiler 2013-06-22 00:15:25 +0000
  • 52e7394418 Fix uninitialized data Dale Weiler 2013-06-22 00:00:17 +0000
  • a982d4e524 Fix a sizeof bug Dale Weiler 2013-06-21 23:55:47 +0000
  • 458cfcb48c I'm assuming this is a bug since all other read tests compare with itself's ir_value, and only this one doesn't. Otherwise why would you need to load to an ir_value for vec? Dale Weiler 2013-06-21 23:54:09 +0000
  • 5bdf0aff81 Catch that one too Dale Weiler 2013-06-21 23:51:49 +0000
  • 1929b129ee Improper use of a possible negative value. Dale Weiler 2013-06-21 23:49:08 +0000
  • ce23e95d0b Remove a ton of dead code and document the one really insane case. Dale Weiler 2013-06-21 23:40:51 +0000
  • 684112474b cppcheck had the right idea, but the wrong scope on this one. Dale Weiler 2013-06-21 23:29:50 +0000
  • fe296de42f Fix more bugs (mostly possible NULL pointer dereferences) Dale Weiler 2013-06-21 23:26:49 +0000
  • 996d998ebb Fix possible NULL pointer dereference Dale Weiler 2013-06-21 23:21:12 +0000
  • 125d039e3d Fix some bugs Dale Weiler 2013-06-21 23:16:00 +0000
  • 6db2e69f9a Oh my god microsoft you suck Dale Weiler 2013-06-20 11:20:56 +0000
  • 82fd7fcf68 Move code generator into ir_builder for earlier free. It's also a much more cleaner design than load parser->code for all ast/ir operations. We also have a proper chain'd design now (so making this a library will be easier). Dale Weiler 2013-06-20 10:52:58 +0000
  • a2c3388e49 Fix some comments Dale Weiler 2013-06-18 07:31:09 +0000
  • 944ec75687 Retarded clang warning is retarded. Dale Weiler 2013-06-18 07:26:07 +0000
  • 3b8b76328c Holy mexicans 15% better hashing == 5% faster compiles. Dale Weiler 2013-06-18 07:22:03 +0000
  • e6c1d66c35 Merge branch 'master' into cooking Dale Weiler 2013-06-17 20:14:26 +0000
  • 51eb94f251 Enable it for gmqcc and fteqcc modes. Dale Weiler 2013-06-17 20:13:21 +0000
  • 7e76b42f11 Merge branch 'master' of github.com:graphitemaster/gmqcc Dale Weiler 2013-06-17 20:12:02 +0000
  • 23cb7f4e09 Fix some bugs Dale Weiler 2013-06-17 20:11:37 +0000
  • a04c0d2aa2 make source a dependency for the c.o rule Dale Weiler 2013-06-16 08:35:58 +0000
  • ad8d76b212 Fixed Dale Weiler 2013-06-16 08:24:13 +0000
  • de8974d03e Use includes for makefile consistency. Added make depend rule for BSDmakefile. Dale Weiler 2013-06-16 08:21:23 +0000
  • f8db5a7c6d reclassify_token should only deal with tokens < TOKEN_START... should fix #113 Wolfgang Bumiller 2013-06-16 09:52:49 +0200
  • e6bb7697f9 reclassify_token should only deal with tokens < TOKEN_START... should fix #113 Wolfgang Bumiller 2013-06-16 09:52:49 +0200
  • a3e1342bdb Update Dale Weiler 2013-06-16 07:51:55 +0000
  • ba85107a85 Better scheme Dale Weiler 2013-06-16 07:48:41 +0000
  • 0e392f91d2 A new batch of fresh hot dependencies for both Dale Weiler 2013-06-16 07:23:51 +0000
  • 685925398c Dependency consistency Dale Weiler 2013-06-16 07:22:37 +0000
  • ec6de55d3c Update some things Dale Weiler 2013-06-16 07:21:40 +0000
  • 00d1d237bc Update install file Dale Weiler 2013-06-16 07:16:44 +0000
  • 6de7c45618 A Makefile for BSD make. Dale Weiler 2013-06-16 07:08:07 +0000
  • 004832f6ec Make it compile with g++ again Dale Weiler 2013-06-16 05:59:41 +0000
  • 82e92811e4 Uhh forgot to save file Dale Weiler 2013-06-16 03:46:07 +0000
  • 9a6316221c Fix memleak Dale Weiler 2013-06-16 03:45:06 +0000
  • 2d654ddcff Update Dale Weiler 2013-06-16 02:48:31 +0000
  • 5d2b57394e Add the good old xor swap trick to the xor test, yes it works :P Dale Weiler 2013-06-16 02:24:10 +0000
  • 17ae2dbe4d Make ^ legal for vector ^ vector, and vector ^ float (read the huge comment that explains why and what this does). Currently only works for constants (don't know how to do expression for multiple vector components yet). Dale Weiler 2013-06-16 02:17:29 +0000