Dale Weiler
|
f83cc1b91d
|
Less flexible more economical utf8 decoder.
|
2013-10-10 21:44:40 -04:00 |
|
Dale Weiler
|
b10de1b240
|
Make unary - operator act as an ast_unary node. This allows for consistency (no sense in making unary use binstore nodes, it doesn't make much sense). It also allows for the peephole optimization on unary chains that cancel each other to take place; i.e code like "-(-a)" simplifies to "a", thus eliminating instructions.
|
2013-09-29 22:01:46 -04:00 |
|
Dale Weiler
|
81df8fa139
|
Remove the rest of it.
|
2013-09-28 06:10:02 -04:00 |
|
Dale Weiler
|
2b3663e18d
|
Optimize for superfluous cases of NOT, i.e !!!!x can be simplified to !!x.
|
2013-09-28 05:34:53 -04:00 |
|
Dale Weiler
|
b2c8f3ebc5
|
Vector cross product virtual instruction, now >< operator works for non-constant vectors. Thanks divVerent for the help.
|
2013-08-31 14:49:06 -04:00 |
|
Dale Weiler
|
76c37d9cc0
|
Rid of util_debug
|
2013-08-30 06:49:24 -04:00 |
|
Dale Weiler
|
fc57fa4064
|
Add support for columns to LNOF files.
|
2013-08-26 14:14:33 -04:00 |
|
Rudolf Polzer
|
e50b7a2719
|
Support vector bitor/bitand/bitxor.
Signed-off-by: Rudolf Polzer <divverent@xonotic.org>
|
2013-08-26 18:32:28 +02:00 |
|
Dale Weiler
|
834e8d0d7d
|
Mark the beginning of the next release, master is now stable.
|
2013-08-19 23:31:57 +00:00 |
|
Dale Weiler
|
963e93e8e8
|
This should be the tag
|
2013-08-19 21:38:18 +00:00 |
|
Dale Weiler
|
94139513db
|
Cleanups and update CHANGES
|
2013-08-17 22:16:40 +00:00 |
|
Dale Weiler
|
7df42c95d2
|
Make our allocator slightly faster with branch hinting.
|
2013-08-15 06:09:28 +00:00 |
|
Dale Weiler
|
1201f06a55
|
Remove vec_upload
|
2013-08-14 06:19:48 +00:00 |
|
Dale Weiler
|
5e54db46c4
|
Some statistics as Samual wanted.
|
2013-08-14 04:08:00 +00:00 |
|
Dale Weiler
|
7669a99c7f
|
increment the optimization counter for DCE'd folds, also enable -O3 for compilation.
|
2013-08-01 14:24:10 +00:00 |
|
Dale Weiler
|
920dbaf1e0
|
Work in progress constant-folding rewrite.
|
2013-07-31 09:04:19 +00:00 |
|
Dale Weiler
|
d6ca5673dc
|
Use the _t consistency naming scheme. Also various cleanups.
|
2013-07-30 16:00:51 +00:00 |
|
Dale Weiler
|
a9ab865add
|
Move some things around
|
2013-07-30 15:32:24 +00:00 |
|
Dale Weiler
|
c8c25ef6f7
|
Some cleanups and smaller binaries!
|
2013-07-28 00:23:15 +00:00 |
|
Dale Weiler
|
0291726c09
|
Fedora spec files (0.2.9 and 0.3.0) + INSTALL documentation, thanks Igor Gnatenko.
|
2013-07-27 16:33:33 +00:00 |
|
Dale Weiler
|
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."
This reverts commit cddf70f46b .
|
2013-07-26 16:17:41 +00:00 |
|
Dale Weiler
|
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.
|
2013-07-26 16:09:26 +00:00 |
|
Dale Weiler
|
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.
|
2013-07-26 12:28:02 +00:00 |
|
Dale Weiler
|
6db2e69f9a
|
Oh my god microsoft you suck
|
2013-06-20 11:20:56 +00:00 |
|
Dale Weiler
|
8afd373e4f
|
Fixed whitespace
|
2013-06-14 21:36:16 +00:00 |
|
Dale Weiler
|
17fd017d6f
|
Revert "Actually works now"
This reverts commit daa1487aef .
|
2013-06-13 22:23:07 +00:00 |
|
Dale Weiler
|
daa1487aef
|
Actually works now
|
2013-06-13 22:20:17 +00:00 |
|
Dale Weiler
|
144672fada
|
Strict prototyping
|
2013-06-06 02:51:13 +00:00 |
|
Dale Weiler
|
11179a2a71
|
Major header reworking, this respects the namespaces properly. Makes object dependency more obvious, allows for better make caches, and prevents misuse of library features, i.e use con_* instead of printf.
|
2013-06-04 02:47:07 +00:00 |
|
Dale Weiler
|
ee42d2a570
|
Some cleanups
|
2013-06-02 08:37:22 +00:00 |
|
Dale Weiler
|
9af3c502da
|
Major utility rewrite for compiler memory utilization statistics. Cleanups everywhere, no more NOTRACK stuff, all allocates are tracked. Major identifier cleanups as well.
|
2013-06-02 08:21:06 +00:00 |
|
Dale Weiler
|
0b6269f607
|
column printing for warnings and errors now
|
2013-05-30 19:36:01 +00:00 |
|
Dale Weiler
|
e02ebfe486
|
Result of shift operation on signed integers is bad.
|
2013-05-29 02:24:12 +00:00 |
|
Dale Weiler
|
f281de7a3c
|
Cleanups and fixes
|
2013-05-29 02:16:50 +00:00 |
|
Wolfgang Bumiller
|
4d0a5af475
|
removing this dead code_init call
|
2013-05-07 19:59:06 +02:00 |
|
Wolfgang Bumiller
|
c5225b2fa1
|
fixing a few leaks - code_write doesn't delete the code object anymore, code_cleanup has to be called
|
2013-05-07 19:56:41 +02:00 |
|
Wolfgang Bumiller
|
b8e536d409
|
Starting point of 0.3.0
|
2013-04-27 16:30:35 +02:00 |
|
Wolfgang Bumiller
|
219508e478
|
this should be tagged 0.2.9
|
2013-04-27 16:30:03 +02:00 |
|
Dale Weiler
|
3d8e8cd80d
|
cleaner
|
2013-04-25 12:08:43 +00:00 |
|
Dale Weiler
|
9fee84f250
|
less globals
|
2013-04-25 12:08:13 +00:00 |
|
Dale Weiler
|
785ab7c072
|
No more globals for codegen
|
2013-04-25 09:35:30 +00:00 |
|
Wolfgang Bumiller
|
73070395eb
|
these can be const now
|
2013-04-25 09:55:58 +02:00 |
|
Dale Weiler
|
1b5504fb9e
|
Fix alignment issues (can remove a clang warning, and also makes our code more portable!)
|
2013-04-25 03:17:52 +00:00 |
|
Wolfgang Bumiller
|
3a4aba0b31
|
Grrrr
|
2013-04-24 17:47:42 +02:00 |
|
Dale Weiler
|
b3fc77efd6
|
Implemented __TIME_STAMP__ predef, expands to a timestamp of when the __FILE__ was last modified, returned in the format: "Www Mmm dd hh:mm:ss yyyy", where Www is the weekday, Mmm the month (in letter), dd the day of the month, hh:mm:ss the time, and yyyy the year.
|
2013-04-24 04:48:05 +00:00 |
|
Dale Weiler
|
489ad486bc
|
Get it compiling in visual studio again.
|
2013-04-24 01:43:53 +00:00 |
|
Dale Weiler
|
160e7cf7ee
|
Remove trailing whitespace
|
2013-04-21 10:24:55 +00:00 |
|
Dale Weiler
|
8c08897749
|
Fixes
|
2013-04-21 10:13:51 +00:00 |
|
Dale Weiler
|
b47e3ebccf
|
Remove hashset
|
2013-04-21 04:56:41 +00:00 |
|
Wolfgang Bumiller
|
46752af74b
|
parser_const_string now uses hashtables; hashtables may want to dup an empty string without it becoming NULL - also replacing ir_strdup with the new util_ one
|
2013-04-17 18:23:30 +02:00 |
|