Dale Weiler
|
b52cf4d47e
|
Add comment abotu CRC16
|
2013-11-23 07:42:38 -05:00 |
|
Dale Weiler
|
e2bfaf8109
|
Implemented exp2 intrinsic
|
2013-11-23 07:37:26 -05:00 |
|
Dale Weiler
|
c68a5c29e1
|
Simplify
|
2013-11-23 07:27:09 -05:00 |
|
Dale Weiler
|
11f79bb1a6
|
Use '#' in nullfun identifier to prevent it from being used in code
|
2013-11-23 07:25:24 -05:00 |
|
Dale Weiler
|
54f331a64a
|
Fix intrinsics for self-inclusion of other intrinsics.
|
2013-11-23 07:21:12 -05:00 |
|
Dale Weiler
|
74b58c5bb8
|
Cleaner handling since intrin_func deals with alias
|
2013-11-23 07:02:45 -05:00 |
|
Dale Weiler
|
292c8150b4
|
Resolve undefined functions to compiler builtins if they exist.
|
2013-11-23 06:57:40 -05:00 |
|
Dale Weiler
|
b1fd85b711
|
Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking
|
2013-11-23 06:41:24 -05:00 |
|
Dale Weiler
|
d9572e3e30
|
Fixed pow/exp using fast approximation until the fractional part is hit. Once fractional is reached a binary search is used to get close to the value.
|
2013-11-23 06:40:27 -05:00 |
|
Wolfgang Bumiller
|
0860b7a68b
|
crc16 slice-by-8 table generator code included for reference
|
2013-11-23 11:58:20 +01:00 |
|
Wolfgang Bumiller
|
759fca6921
|
slice-by-8 crc16
|
2013-11-23 11:50:30 +01:00 |
|
Dale Weiler
|
3b6e7d0ce1
|
indent
|
2013-11-23 03:54:11 -05:00 |
|
Dale Weiler
|
ae9d3d42cf
|
A better mod implementation
|
2013-11-23 03:53:07 -05:00 |
|
Dale Weiler
|
29f2cc302b
|
Add reference tool
|
2013-11-23 03:10:09 -05:00 |
|
Dale Weiler
|
7011a2ef2c
|
Faster CRC16 algorithm based on the Slicing-by-8 algorithm, by Michael E. Kounavis and Frank L. Berry from Intel Corp.
|
2013-11-23 01:00:32 -05:00 |
|
Wolfgang Bumiller
|
ec03b55d1a
|
now it parses and has the desired precedence
|
2013-11-16 14:34:24 +01:00 |
|
Wolfgang Bumiller
|
9131644412
|
** precedence was wrong
|
2013-11-16 14:26:46 +01:00 |
|
Wolfgang Bumiller
|
49bb172a09
|
folder: change ~ for floats too
|
2013-11-14 11:41:11 +01:00 |
|
Dale Weiler
|
73c4015046
|
Fix unary minus on vector
|
2013-11-13 08:57:14 -05:00 |
|
Dale Weiler
|
1900262df4
|
Use a branch instead of math on enum types
|
2013-11-13 04:57:18 -05:00 |
|
Wolfgang Bumiller
|
f43106017f
|
bit more concise
|
2013-11-12 16:28:11 +01:00 |
|
Wolfgang Bumiller
|
eb4486a7ac
|
working fold_op_cmp implementation
|
2013-11-12 16:15:02 +01:00 |
|
Wolfgang Bumiller
|
1d5229ee8c
|
vec3_not: be consistent with compile-time behavior here
|
2013-11-12 16:05:54 +01:00 |
|
Wolfgang Bumiller
|
eee7d0aac1
|
vec3_pbool: or, not and
|
2013-11-12 15:56:04 +01:00 |
|
Wolfgang Bumiller
|
de12a24bc9
|
folder: fix -fperl-logic
|
2013-11-12 14:39:25 +01:00 |
|
Wolfgang Bumiller
|
6ea88c9a3f
|
subtracting != adding
|
2013-11-12 14:31:11 +01:00 |
|
Wolfgang Bumiller
|
de14d514f3
|
fix 0-x being turned into x
|
2013-11-06 16:57:04 +01:00 |
|
Wolfgang Bumiller
|
99de3cf4f5
|
regular procedure... bumping PKGBUILDs, GMQCC_VERSION macros, adding back GMQCC_VERSION_TYPE_DEVEL
|
2013-10-31 22:17:53 +01:00 |
|
Wolfgang Bumiller
|
7f2b2061e6
|
0.3.5 commit
|
2013-10-31 22:13:42 +01:00 |
|
Dale Weiler
|
1d745fd1f9
|
Merge branch 'cooking'
|
2013-10-31 08:22:54 -04:00 |
|
Wolfgang Bumiller
|
7a29f65683
|
Nothing in there requires unistd.h
|
2013-10-28 11:37:08 +01:00 |
|
Wolfgang Bumiller
|
1ca36b7e49
|
Revert "oh my god, make it stop >.<"
This reverts commit a120209567 .
|
2013-10-27 20:11:41 +01:00 |
|
Wolfgang Bumiller
|
a120209567
|
oh my god, make it stop >.<
|
2013-10-27 19:19:11 +01:00 |
|
Wolfgang Bumiller
|
b1016c7f48
|
fold_binary now used instead of ast_binary_new, which calls fold_superfluous
|
2013-10-25 13:40:31 +02:00 |
|
Dale Weiler
|
91c894d4da
|
Disable it on master too since Xonotic compiles are failing.
|
2013-10-24 11:56:23 -04:00 |
|
Wolfgang Bumiller
|
065a870e7a
|
build again
|
2013-10-23 14:04:20 +02:00 |
|
Wolfgang Bumiller
|
b87eb89853
|
This is not allowed
|
2013-10-23 14:01:56 +02:00 |
|
Dale Weiler
|
c90807dec6
|
Some correctly-sized type flags for the AST and IR, this culls back memory usage a little.
|
2013-10-19 23:39:37 -04:00 |
|
Dale Weiler
|
0695ad1659
|
Merge branch 'cooking' of github.com:graphitemaster/gmqcc into cooking
|
2013-10-19 02:53:46 -04:00 |
|
Dale Weiler
|
b5b9559d6f
|
Make preprocessor predefs use their own context opposed to the lexer context.
|
2013-10-19 02:52:47 -04:00 |
|
Wolfgang Bumiller
|
3988aae73e
|
type and argument parsing improved to handle the field/vararg ambiguity; tests added
|
2013-10-18 16:28:28 +02:00 |
|
Dale Weiler
|
0f6c44d671
|
We're doing it this way.
|
2013-10-18 05:37:26 -04:00 |
|
Wolfgang Bumiller
|
8d5e719026
|
replacing the current [[accumulate]] implementation: shorter and simpler, and also supports non-void return types
|
2013-10-18 11:26:41 +02:00 |
|
Dale Weiler
|
0cfc275f82
|
Fix
|
2013-10-17 20:35:56 -04:00 |
|
Dale Weiler
|
c210340081
|
Undo fix and actually use a macro in the accumulation test .. just incase.
|
2013-10-17 20:34:16 -04:00 |
|
Dale Weiler
|
c675ba8086
|
Does this fix it?
|
2013-10-17 20:25:02 -04:00 |
|
Dale Weiler
|
9f54610fbd
|
Implement support for octal constants, this closes #97.
|
2013-10-17 05:17:30 -04:00 |
|
Dale Weiler
|
02a1d9f4a1
|
Fix 'declaration does not declare anything' regression i.e this closes #132.
|
2013-10-17 05:06:09 -04:00 |
|
Dale Weiler
|
97217b55d1
|
Ignore generating a return instruction in accumulated functions, eventually we'll have a way to merge these into one function but for now the RETURN is a waste.
|
2013-10-17 04:45:24 -04:00 |
|
Dale Weiler
|
dd33f4e498
|
Update deps
|
2013-10-17 04:27:34 -04:00 |
|