Irmen de Jong
|
44d232f52a
|
optimize for x in something downto 0
|
2023-11-26 02:24:18 +01:00 |
|
Irmen de Jong
|
2764d235a9
|
optimizing for x in 0 to something
|
2023-11-25 21:37:27 +01:00 |
|
Irmen de Jong
|
f21adaa3ef
|
fix compiler error caused by removal of string symbol in txt.print() optimization
|
2023-11-17 19:51:48 +01:00 |
|
Irmen de Jong
|
7e3b8c2c59
|
fix compiler crash on certain subroutine inlining attempts.
|
2023-11-09 21:16:12 +01:00 |
|
Irmen de Jong
|
3b0d7ea960
|
better const-evaluation of addressOf a memory mapped variable
|
2023-11-08 22:04:41 +01:00 |
|
Irmen de Jong
|
efe4df92dc
|
optimize when with const value (remove other choices from code)
|
2023-11-06 00:08:07 +01:00 |
|
Irmen de Jong
|
d9389afc66
|
fix compiler crash on certain constant expressions
|
2023-11-05 13:59:08 +01:00 |
|
Irmen de Jong
|
b7a622c68e
|
fix alignment of uninitialized arrays in aligned blocks (make them initialized with zeros so they don't end up in the BSS section)
fix alignment of uninitialized arrays in aligned blocks (make them initialized with zeros so they don't end up in the BSS section)
|
2023-10-04 00:12:36 +02:00 |
|
Irmen de Jong
|
880c0a5da8
|
allow taking address of array element
|
2023-09-18 04:37:41 +02:00 |
|
Irmen de Jong
|
31c132c2eb
|
several optimizations and compiler error fix for @(&var) and @(&var+1)
|
2023-09-14 23:04:23 +02:00 |
|
Irmen de Jong
|
6afdd4e6fd
|
preparing next version
|
2023-09-12 21:53:49 +02:00 |
|
Irmen de Jong
|
c15c10a94e
|
fixed 'unroll CONSTANTEXPR' compiler errors
|
2023-09-05 01:03:35 +02:00 |
|
Irmen de Jong
|
3e6d16a7a8
|
add error message for invalid step size in range expression
|
2023-08-11 02:35:52 +02:00 |
|
Irmen de Jong
|
70ed2b4203
|
fix compilation of large bitshifts
|
2023-07-22 23:08:22 +02:00 |
|
Irmen de Jong
|
70a78e74f6
|
get rid of binexpr splitter
|
2023-07-20 01:36:43 +02:00 |
|
Irmen de Jong
|
d5707b7bf3
|
rebuilding floating point stack evaluation (using cpu stack)
|
2023-07-20 00:45:04 +02:00 |
|
Irmen de Jong
|
6033a9e20c
|
remove optfloatx option
|
2023-07-15 22:24:22 +02:00 |
|
Irmen de Jong
|
84925ab69c
|
remove eval stack options
|
2023-07-15 22:24:19 +02:00 |
|
Irmen de Jong
|
b8284a147d
|
allow boolean when conditions, optimize into a regular if
|
2023-07-11 21:33:29 +02:00 |
|
Irmen de Jong
|
ffb2027a19
|
repeat loop count now always rounded to integer
|
2023-07-06 23:58:02 +02:00 |
|
Irmen de Jong
|
b4e94ae4dd
|
optimizer: avoid symbol name clash when inlining subroutine
|
2023-07-05 23:15:04 +02:00 |
|
Irmen de Jong
|
07c606bfc9
|
optimizer: don't replace for loop with repeat loop (the loop variable might be used elsewhere!)
|
2023-07-05 21:16:17 +02:00 |
|
Irmen de Jong
|
204f5591a9
|
todos
|
2023-07-03 21:57:32 +02:00 |
|
Irmen de Jong
|
eae41de27d
|
improve errors generated for undefined symbols
|
2023-06-25 15:19:51 +02:00 |
|
Irmen de Jong
|
a587482edf
|
optimize dangling else
|
2023-06-18 13:46:02 +02:00 |
|
Irmen de Jong
|
c0b398e0ce
|
add various math.atan() routines
|
2023-06-17 00:43:33 +02:00 |
|
Irmen de Jong
|
a521982576
|
fix subroutine inline problem with strings
|
2023-06-09 21:45:05 +02:00 |
|
Irmen de Jong
|
39eda67867
|
Merge branch 'master' into split-arrays
# Conflicts:
# examples/test.p8
|
2023-05-28 13:28:43 +02:00 |
|
Irmen de Jong
|
a99d38fdaa
|
Merge branch 'v8_maintenance'
# Conflicts:
# examples/test.p8
|
2023-05-28 13:26:05 +02:00 |
|
Irmen de Jong
|
0eb2d437e2
|
fix compiler error and codegen fault on signed value bitwise operation
|
2023-05-28 13:13:11 +02:00 |
|
Irmen de Jong
|
c94e292176
|
more split array stuff
|
2023-05-27 12:47:11 +02:00 |
|
Irmen de Jong
|
b43223cb7a
|
added clamp() builtin function and floats.clampf()
|
2023-05-17 23:12:58 +02:00 |
|
Irmen de Jong
|
92062d056d
|
divmod() now works on multiple data types including float.
divmodw() has been removed
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
06368ab0a1
|
sqrt() now works on multiple data types including float.
no need to use floats.sqrtf() anymore
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
38efe25c68
|
abs() now works on multiple data types including float.
no need to use floats.fabs() anymore
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
025bf900a5
|
min max docs, added floats.minf() and maxf()
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
c07eda15b1
|
adding min() and max()
|
2023-05-02 01:19:53 +02:00 |
|
Irmen de Jong
|
0bea721c2e
|
docs
|
2023-04-27 01:26:25 +02:00 |
|
Irmen de Jong
|
b6a837cbea
|
fix boolean array with initialization value
|
2023-04-04 22:11:51 +02:00 |
|
Irmen de Jong
|
d265271148
|
fix rpn variable depth clobber and type error
|
2023-03-20 22:18:10 +01:00 |
|
Irmen de Jong
|
6e4ae034b2
|
more Rpn optimizations
|
2023-03-19 00:48:12 +01:00 |
|
Irmen de Jong
|
1152191f48
|
add optimization: replace simple for loops by repeat loop
|
2023-03-15 21:11:37 +01:00 |
|
Irmen de Jong
|
fd25e85d59
|
added unroll loop construct
|
2023-03-14 23:37:49 +01:00 |
|
Irmen de Jong
|
dc32318cec
|
fix possible string error on inlined subroutines
|
2023-03-12 18:16:48 +01:00 |
|
Irmen de Jong
|
ebd9f1471b
|
fix crash when using const word as pointer and implement 2 missing assign codegen paths
|
2023-03-11 15:39:03 +01:00 |
|
Irmen de Jong
|
a636d3f394
|
give correct error on attempt to const array
|
2023-03-10 23:46:13 +01:00 |
|
Irmen de Jong
|
96996bf18e
|
be less aggressive with translating adds/subs into auto inc/decrements, to avoid code bloat
|
2023-03-10 23:01:55 +01:00 |
|
Irmen de Jong
|
b7a6f3ec75
|
fix compiler not optimizing x+=1 into x++ anymore
|
2023-03-10 02:45:25 +01:00 |
|
Irmen de Jong
|
fc253237c9
|
fix issues with reporting inlined subroutines as unused
|
2023-03-07 23:47:14 +01:00 |
|
Irmen de Jong
|
1436480eab
|
added a few more comparison expression optimizations
|
2023-03-04 16:01:40 +01:00 |
|