Commit graph

1846 commits

Author SHA1 Message Date
Wolfgang Bumiller
96126b435a manpage: __DATE__, __TIME__ predefs 2013-01-09 21:32:17 +01:00
Wolfgang Bumiller
10c7f4f838 don't call correct_edit anew for each scope 2013-01-09 21:16:22 +01:00
Wolfgang Bumiller
6b0a522bb9 Factor out the adding of globals in various places into parser_addglobal; Add globals to the correct_variables lists 2013-01-09 20:42:33 +01:00
Wolfgang Bumiller
704ddf94f8 manpage: Document change to -Wall 2013-01-09 20:41:12 +01:00
Wolfgang Bumiller
4f7113116d -Wall now does not set -Wuninitialized-global 2013-01-09 20:39:17 +01:00
Wolfgang Bumiller
be6942d972 fixing a crash caused by the correction: setting correct=NULL after freeing so the later if(correct) check properly fails 2013-01-09 19:12:27 +01:00
Wolfgang Bumiller
9eefe90d78 removing a goto loop 2013-01-09 16:00:16 +01:00
Wolfgang Bumiller
16e789419d testcase for mul_vf/fv 2013-01-08 21:55:34 +01:00
Wolfgang Bumiller
7d4340469e So it wasn't _reall_ the optimization... it just made it easier. -Olocal-temps -> -O3 2013-01-08 21:23:38 +01:00
Wolfgang Bumiller
a76ae11241 more IR dump verbosity; fix: MUL_VF/FV additional liferange must be propagated to the full vector when using a vector-member as float-parameter 2013-01-08 21:21:52 +01:00
Wolfgang Bumiller
6ece523552 sqrt and normalize builtins 2013-01-08 20:46:30 +01:00
Wolfgang Bumiller
d6809ed331 better solution to blockstart pointlife issues 2013-01-08 15:22:24 +01:00
Wolfgang Bumiller
4c05230cb3 Seems like there's still a problem with it - -Olocal-temps back up to -O4 2013-01-07 20:27:50 +01:00
Wolfgang Bumiller
3f3ed9b6f0 added a testcase for -Olocal-temps 2013-01-07 19:09:15 +01:00
Wolfgang Bumiller
57c3d48711 error when trying to break/continue outside of loops/switches instead of segfaulting at codegen 2013-01-07 15:19:53 +01:00
Wolfgang Bumiller
debfe136a5 Moving -Olocal-temps back to -O3 2013-01-07 14:55:42 +01:00
Wolfgang Bumiller
ae97ff7a80 This should fix the -Olocal-temps issue; set v->unique_life for any v with a point-life - this is a bad solution: proper dead code elimination should be done instead 2013-01-07 14:55:05 +01:00
Wolfgang Bumiller
63e5bc91de more info in the IR dump 2013-01-07 14:55:05 +01:00
Dale Weiler
a395a20dba close #76 implemented -Werror-some-warning section [errors] for the ini system. 2013-01-07 12:46:50 +00:00
Dale Weiler
54c8801bec Merge branch 'master' of github.com:graphitemaster/gmqcc 2013-01-07 12:40:03 +00:00
Dale Weiler
d8ae1cb3e9 Move splint.sh into the Makefile 2013-01-07 12:39:33 +00:00
Wolfgang Bumiller
cbb91c2026 moving -Olocal-temps to -O4 until the issues are solved 2013-01-07 12:58:56 +01:00
Wolfgang Bumiller
99249c8fa3 Guard 2 peephole optimizations which should only work on the currently-last instruction by a check if it's actually really at the end... 2013-01-07 00:22:54 +01:00
Wolfgang Bumiller
f4d1ef4740 Fix some possible NULL access in an error case 2013-01-07 00:22:16 +01:00
Wolfgang Bumiller
4d72c85f73 __STD_QCCX__ on -std=qccx - I have no idea about what qccx does/can do but at least now -fftepp includes the macros... 2013-01-06 20:52:12 +01:00
Wolfgang Bumiller
5134673461 manpage: bring the list of included -f and -W flags for each described -std up to date 2013-01-06 20:50:18 +01:00
Wolfgang Bumiller
5d1685b93d Adding -ftranslatable-strings to -std=gmqcc 2013-01-06 20:49:57 +01:00
Wolfgang Bumiller
dcc511f4c3 make the LNOF header compiler friendlier 2013-01-06 16:40:38 +01:00
Wolfgang Bumiller
e59d50ee5d Merge branch 'master' of git://github.com/graphitemaster/gmqcc 2013-01-06 16:37:05 +01:00
Wolfgang Bumiller
2531a3695f fixup qcvm parameter handling, now progs.dat can be specified anywhere not just at the end 2013-01-06 16:37:02 +01:00
Dale Weiler
985a177288 Pipe stderr from makedepend for depend rule in makefile to /dev/null 2013-01-06 15:27:39 +00:00
Dale Weiler
ecb83404ab Add test alias to check for make file 2013-01-06 15:12:46 +00:00
Dale Weiler
8ac6bcdad7 Add splint rule to makefile 2013-01-06 12:43:46 +00:00
Dale Weiler
4f873e1d9d remove never reached return 2013-01-06 12:39:37 +00:00
Dale Weiler
7cc7e912e7 Enable corrector by default 2013-01-06 12:29:25 +00:00
Dale Weiler
72f056a4d7 Merge branch 'screwaround' 2013-01-06 12:29:07 +00:00
Dale Weiler
ac5cc49840 remove a the 2013-01-06 12:28:27 +00:00
Dale Weiler
9a4e215179 Document the awesome hack 2013-01-06 12:24:05 +00:00
Wolfgang Bumiller
9c8ddb3771 An evil optimization to the trie, now has a fixed amount of branches and uses a char-to-index map to index into the branches... 2013-01-06 13:07:28 +01:00
Dale Weiler
1e17b5f696 Cleaner transformation calls (one less size_t for agruments). We can coalesce it in correct_edit. 2013-01-06 11:02:39 +00:00
Dale Weiler
3fa771f51d Leave a space here for makedepend 2013-01-06 10:56:25 +00:00
Dale Weiler
4afe61060d Add a "depend" rule for the makefile. It uses makedepend to generate dependinces that are catted to the current Makefile. 2013-01-06 10:55:22 +00:00
Dale Weiler
0f4090402d No need to +1 for comparision in correct_known_resize 2013-01-06 10:37:09 +00:00
Dale Weiler
cfdeaf4786 Fix comments 2013-01-06 10:35:43 +00:00
Dale Weiler
056779d3b8 Remove trailing shitspace 2013-01-06 10:33:09 +00:00
Dale Weiler
6f5a20e76b Use -O2 by default 2013-01-06 10:29:29 +00:00
Dale Weiler
a4c1e63637 Less pointer dereferences 2013-01-06 05:17:30 +00:00
Dale Weiler
cc7e1a3363 Screw you clang :-) 2013-01-06 05:14:57 +00:00
Dale Weiler
ee33b4e5cc A little faster, plus some more research 2013-01-06 05:13:19 +00:00
Dale Weiler
0c59274c54 This is a work of art, it deserve nice comments :) 2013-01-06 04:09:12 +00:00