Commit graph

  • 9908209f58 Fix dependincies Dale Weiler 2013-09-08 13:04:07 -0400
  • 6800d15872 Always print the char the lexer fails on for a token. Dale Weiler 2013-08-31 16:52:46 -0400
  • b2c8f3ebc5 Vector cross product virtual instruction, now >< operator works for non-constant vectors. Thanks divVerent for the help. Dale Weiler 2013-08-31 14:49:06 -0400
  • 64661f54ea Implemented >< (vector cross product operator). Currently support for constants only. Dale Weiler 2013-08-31 13:41:25 -0400
  • 69252071ba Prevent divide by zero for / and % operations in constant folding (previously caused compiler SIGFPE), instead "inf" is generated for both cases. This closes #124 Dale Weiler 2013-08-31 12:57:24 -0400
  • 9032e78349 There is no bug since the testsuite uses -o for preprocessed output (thus the printf never gets involved) if the testsuite read the preprocessor output from stdout than things would be wrong, since however it isn't there is no bug. Dale Weiler 2013-08-31 09:53:19 -0400
  • 702a7664de Don't allow a stale 'some_type;' declaration without an actual variable name; Same for typedef; closes #119 Wolfgang Bumiller 2013-08-31 11:35:12 +0200
  • 2ff9adecb2 this one can be reached - make it a little more helpful Wolfgang Bumiller 2013-08-31 10:55:03 +0200
  • 4600f1d7ff more thorough check for whether an ast node starts a new label; closes #121 Wolfgang Bumiller 2013-08-31 10:48:24 +0200
  • 79219ae201 factor check for assignment-to-constant into a function; improve its error output; closes #122 Wolfgang Bumiller 2013-08-31 10:39:31 +0200
  • 87b9fca732 fix unhelpful error message; fixes #123 Wolfgang Bumiller 2013-08-31 10:19:10 +0200
  • 98cb23ca63 Logic elsewhere handles this (no need to duplicate) Dale Weiler 2013-08-30 07:23:15 -0400
  • a50635bcd7 intrinsic folding cleanups (and improvements.) Dale Weiler 2013-08-30 07:12:16 -0400
  • 76c37d9cc0 Rid of util_debug Dale Weiler 2013-08-30 06:49:24 -0400
  • c8b4eac618 Make -fshort-logic -funtyped-nil -fvariadic-args default for -std=gmqcc Dale Weiler 2013-08-29 07:56:22 -0400
  • f8af7adcd7 Remove &~= operator from gmqccs operator table, only fteqcc supports it. Dale Weiler 2013-08-29 07:19:19 -0400
  • dd289ed0e1 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking Dale Weiler 2013-08-29 07:08:03 -0400
  • 3ed200d08a Some changes changes Dale Weiler 2013-08-29 07:07:43 -0400
  • ff6d55aafc this should allow for better detection of precedence issues Wolfgang Bumiller 2013-08-29 10:22:48 +0200
  • fa468e0673 also warn about mixing logical and/or operations without parenthesis Wolfgang Bumiller 2013-08-29 08:26:17 +0200
  • f140c39063 warn when mixing different bitops without parenthesis around them Wolfgang Bumiller 2013-08-29 08:18:06 +0200
  • 51ef277e21 Fix folding logic for conditions. Dale Weiler 2013-08-29 00:18:48 -0400
  • a7c1f6f021 Implement [[eraseable]] attribute. When used with a function it instructs the AST (which than transfers logic to the IR) that the function (or variable) is potentially unused (verified by checking the read count). This than propogates through the IR and prevents the IR from generating both the definition and global/function. The intrinsics system uses this as well to prevent intrinsic functions from being generated unless they're used. Dale Weiler 2013-08-29 00:05:37 -0400
  • ceb79f1897 Fix build on clang Dale Weiler 2013-08-28 13:01:46 -0400
  • 3b4a5667ea Constant fold intrinsics if their arguments are constant. TODO: reference count intrinsics such that they're not generated unless they're used, currently when an intrinsic can be folded-away it's marked for generation and makes it to the final output binary even though it isn't used. Dale Weiler 2013-08-28 12:46:22 -0400
  • bbe4927a20 Implemented a __builtin_fabs intrinsic. Dale Weiler 2013-08-28 11:28:27 -0400
  • ee428b9081 Fix fold-dce for if(0) Dale Weiler 2013-08-28 10:39:48 -0400
  • 40bcec5044 Add missing -width to .Bl in doc/gmqpak.1 Wolfgang Bumiller 2013-08-28 14:40:23 +0200
  • a80aa89e09 Fix bad use of .D1 in doc/qcvm.1 Wolfgang Bumiller 2013-08-28 14:38:51 +0200
  • 660a22d647 misc/check-doc.sh: run mandoc -Tlint -Wall on the manpages Wolfgang Bumiller 2013-08-28 14:33:09 +0200
  • 494c30a239 allow initializing shadowed locals outside of -std=gmqcc - in this case it becomes a regular assignment to the old declaration which is consistent with fteqcc Wolfgang Bumiller 2013-08-28 14:20:33 +0200
  • 71e7db63aa Cleanups Dale Weiler 2013-08-28 03:45:40 -0400
  • 8aaa268423 Handle return status from compiler, this fixes false positivies in the testsuite when the compiler segfaults and the testsuite still reports succeeded, now it won't hopefully. Dale Weiler 2013-08-28 03:40:35 -0400
  • a75746d610 Don't ignore empty newlines when match in the testsuite, instead only ignore when procedure type is -pp (i.e preprocessing). Dale Weiler 2013-08-28 03:34:05 -0400
  • 045bd4dbda Some style fixes for tests Dale Weiler 2013-08-27 06:41:03 -0400
  • 28cd3a3f8f Forgot this one Dale Weiler 2013-08-27 06:39:51 -0400
  • f21216ecad A test for that xor stuff (the same one I used to cause the bug to manifest in the first place). Dale Weiler 2013-08-27 06:35:58 -0400
  • abfe98ce8a Fix XOR maths for overlapping inputs by setting the lifetimes correctly. Rudolf Polzer 2013-08-27 12:27:20 +0200
  • 988b4b4960 ast_binary->right_first and an execution order check Wolfgang Bumiller 2013-08-27 10:42:09 +0200
  • 4937fa51c0 Merge divVerent/ftypeless-stores, but rid of the macro abuse. Dale Weiler 2013-08-27 04:28:22 -0400
  • 1b3d515777 Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking Dale Weiler 2013-08-27 04:28:11 -0400
  • b26f53125d error on uninitialized arrays of unspecified size; otherwise it errors about a size overflow Wolfgang Bumiller 2013-08-27 10:19:05 +0200
  • 844e84fc16 bail out when encountering an invalid array size in the ast as it's likely to cause breakage when trying to generate them anyway Wolfgang Bumiller 2013-08-27 10:09:31 +0200
  • 581d0dfc15 Merge branch 'divVerent/ftypeless-stores' of git://git.xonotic.org/xonotic/gmqcc into cooking Dale Weiler 2013-08-27 04:07:17 -0400
  • 147a6df629 fix testcase workarounds Wolfgang Bumiller 2013-08-27 10:00:24 +0200
  • b3c1b46925 And there she goes, them space swallowing whores. Dale Weiler 2013-08-27 03:57:09 -0400
  • f4f805f4c9 New options: -ftypeless-stores and -fsort-operands Rudolf Polzer 2013-08-27 09:46:58 +0200
  • fc57fa4064 Add support for columns to LNOF files. Dale Weiler 2013-08-26 14:14:33 -0400
  • 0e077c6e42 Fix testsuite for when a process crashes (do not consider it a success) Dale Weiler 2013-08-26 13:10:38 -0400
  • a1f1ec6d65 Fix testsuite Dale Weiler 2013-08-26 13:05:54 -0400
  • ba94df47f0 reset the column counter on a newline Wolfgang Bumiller 2013-08-26 18:53:09 +0200
  • 454234ef5f Merge branch 'divVerent/submit/vector-bitops' of git://git.xonotic.org/xonotic/gmqcc into cooking Dale Weiler 2013-08-26 12:36:17 -0400
  • e50b7a2719 Support vector bitor/bitand/bitxor. Rudolf Polzer 2013-08-26 10:25:29 +0200
  • 5958687795 error when trying to pass a TYPE_NOEXPR value to ir_instr_op Wolfgang Bumiller 2013-08-26 10:23:20 +0200
  • 69cecb74df ir_builder now has a vinstr_temp array, a bunch of temps (currently 1) which can be used for virtual instruction translation Wolfgang Bumiller 2013-08-26 10:23:03 +0200
  • 95138b1e5b Some typos Dale Weiler 2013-08-21 23:28:49 -0400
  • efa571043b Make makes output consistent with BSD makes output for make Dale Weiler 2013-08-21 09:49:26 -0400
  • 4990434db7 archlinux PKGBUILDs: don't use install's -D switch - now they should work for both ArchLinux and ArchBSD Wolfgang Bumiller 2013-08-21 10:45:28 +0200
  • bbab8969d1 Generate PDF documentation from man pages for windows releases. Dale Weiler 2013-08-21 04:29:33 +0000
  • 834e8d0d7d Mark the beginning of the next release, master is now stable. Dale Weiler 2013-08-19 23:31:57 +0000
  • a7fdbbe35b Fix that Dale Weiler 2013-08-19 23:18:03 +0000
  • a5972e975a update download page Dale Weiler 2013-08-19 23:17:53 +0000
  • 6a4e175f86 Slackware support to website generation. Dale Weiler 2013-08-19 23:15:41 +0000
  • 6fb90dac72 update download page Dale Weiler 2013-08-19 23:15:23 +0000
  • a93a28230d Merge pull request #117 from matthiaskrgr/master_PKGBUILD 0.3.0 Dale Weiler 2013-08-19 16:06:03 -0700
  • 701363347f Merge remote-tracking branch 'upstream/master' into master_PKGBUILD Matthias Krüger 2013-08-20 00:06:01 +0200
  • a1a9438319 PKGBUILD: release: update Matthias Krüger 2013-08-20 00:04:55 +0200
  • 491a706610 PKGBUILD: git: update Matthias Krüger 2013-08-19 23:50:10 +0200
  • 963e93e8e8 This should be the tag Dale Weiler 2013-08-19 21:38:18 +0000
  • c13285092c Mark release, ready to tag it and bag it. Dale Weiler 2013-08-19 21:34:49 +0000
  • ccd8f1acc6 Added style + indent rule, fixed some indenting as well Dale Weiler 2013-08-19 02:16:16 +0000
  • a31eacf1bd Newline rule Dale Weiler 2013-08-19 00:59:41 +0000
  • e15046d66c Please the Samual Dale Weiler 2013-08-18 23:44:23 +0000
  • 78a3c5d571 Fix that rule Dale Weiler 2013-08-17 23:50:21 +0000
  • e6809acf63 Added whitespace fix rule to include.mk Dale Weiler 2013-08-17 23:49:47 +0000
  • c64005966f Remove some trailing whitespace Dale Weiler 2013-08-17 23:43:41 +0000
  • 2a79339735 Remove that idiom, and use GMQCC_ARRAY_COUNT. Dale Weiler 2013-08-17 23:39:06 +0000
  • dd512ec36a Forgot about this one Dale Weiler 2013-08-17 22:19:40 +0000
  • e7dab06f82 They don't go there, fuck you grep. Dale Weiler 2013-08-17 22:17:14 +0000
  • 94139513db Cleanups and update CHANGES Dale Weiler 2013-08-17 22:16:40 +0000
  • 7108c61bec Fix the build Dale Weiler 2013-08-16 09:09:56 +0000
  • 772dbfae26 Make it compile in visual studio again, without warnings. Dale Weiler 2013-08-16 09:03:36 +0000
  • b30c3ff8d4 Update documentation Dale Weiler 2013-08-16 08:16:03 +0000
  • d5d38e94ef Some testing for valgrind in the makefile Dale Weiler 2013-08-16 07:33:57 +0000
  • 89893f9a24 Valgrind integration for our memory allocator. Dale Weiler 2013-08-16 07:22:01 +0000
  • 079ed491a9 Update the ini example, holy hell we have more options than I imagined. Dale Weiler 2013-08-16 04:22:53 +0000
  • 528279d591 update download page Dale Weiler 2013-08-16 03:29:58 +0000
  • a622d5163b Rework some build stuff for better output and to enable strict prototypes Dale Weiler 2013-08-16 03:28:02 +0000
  • 7df42c95d2 Make our allocator slightly faster with branch hinting. Dale Weiler 2013-08-15 06:09:28 +0000
  • 91c7209146 Track constant folds in opts_optimization list .. this could be handled better I assume. Dale Weiler 2013-08-15 03:45:50 +0000
  • ade8626df7 Perform some strict aliasing all over this biatch. We ain't trippin on code that breaks it. Dale Weiler 2013-08-14 10:16:04 +0000
  • 3ece4a964f remove the 'opts' global from test.c and exec.c as opts.c defines it and is linked into both the testsuite and qcvm Wolfgang Bumiller 2013-08-14 12:09:26 +0200
  • 586a70ea1d Handle some more errors Dale Weiler 2013-08-14 07:41:09 +0000
  • bee14a6df7 Some bug fixes Dale Weiler 2013-08-14 07:19:49 +0000
  • 0a5353532b Remove my MT impl for PRNG, it's full of buffer overflows that I don't want to fix. Just fallback to using srand/rand Dale Weiler 2013-08-14 06:22:32 +0000
  • 1201f06a55 Remove vec_upload Dale Weiler 2013-08-14 06:19:48 +0000
  • f82097b6b8 Update deps Dale Weiler 2013-08-14 06:12:43 +0000
  • 73d9aa29c4 Made intrinsics seperate from the parser. Dale Weiler 2013-08-14 06:02:15 +0000
  • 85ee52128c Fix Dale Weiler 2013-08-14 04:27:11 +0000
  • a68f0fcb35 Cleanups Dale Weiler 2013-08-14 04:24:06 +0000