Commit Graph

545 Commits

Author SHA1 Message Date
Irmen de Jong
eb74b8daa5 got rid of useless opcode 2019-01-16 21:18:00 +01:00
Irmen de Jong
c6c75c43ff fix typo 2019-01-16 00:42:00 +01:00
Irmen de Jong
8bd5cc01b4 asm assignment opts 2019-01-16 00:37:17 +01:00
Irmen de Jong
5f2bf2b375 various regression fixes 2019-01-16 00:36:30 +01:00
Irmen de Jong
ee906ba82c fix ubyte2float conversion 2019-01-15 22:16:03 +01:00
Irmen de Jong
de4353a93e fix too greedy removal of loop statement bodies sometimes 2019-01-15 21:46:27 +01:00
Irmen de Jong
aa3d8afe00 Merge remote-tracking branch 'origin/master' 2019-01-15 20:56:14 +01:00
Irmen de Jong
44ee912700 fixed cmd scripts 2019-01-15 17:15:28 +01:00
Irmen de Jong
68d81dd824 something is broken, moved some asm optimizers to separate branch for the time being 2019-01-15 01:02:34 +01:00
Irmen de Jong
870c6ea747 stuff 2019-01-14 23:48:18 +01:00
Irmen de Jong
98e95b5707 replaced str2ubyte 2019-01-13 14:20:51 +01:00
Irmen de Jong
30e6bc92e5 expression optimizations 2019-01-13 01:50:46 +01:00
Irmen de Jong
ec770b0f5f merge sequential assignments, fix irq 2019-01-12 21:38:31 +01:00
Irmen de Jong
d05169853b even more optimizations 2019-01-12 18:11:36 +01:00
Irmen de Jong
5e42c0d736 rewrote HeapVars a bit to allow for more flexibility (removal of values?) 2019-01-12 16:32:03 +01:00
Irmen de Jong
23afb1ccc2 optimization and fixes 2019-01-12 16:13:40 +01:00
Irmen de Jong
f3c9be4e06 float ++/-- and missing asm code handlers added 2019-01-12 14:55:57 +01:00
Irmen de Jong
0b86af0c4e fixes 2019-01-12 14:05:55 +01:00
Irmen de Jong
f00d2f06c9 fix stackvm comparison/jnz/bnz 2019-01-12 02:36:43 +01:00
Irmen de Jong
27442c714e added rasterbars example 2019-01-12 01:59:32 +01:00
Irmen de Jong
cad42ddc05 word multiplications done 2019-01-12 00:31:56 +01:00
Irmen de Jong
b8251b2e26 simplify expressions 2019-01-11 23:11:10 +01:00
Irmen de Jong
c0920a43a3 optimize % and logical operations on words 2019-01-11 20:24:36 +01:00
Irmen de Jong
6fe0959fdc multiplications 2019-01-11 09:26:59 +01:00
Irmen de Jong
2a08c22b0f optimized byte multiplications 2019-01-11 03:08:27 +01:00
Irmen de Jong
487faf3a08 optimize and fix for loops 2019-01-10 23:53:46 +01:00
Irmen de Jong
aa00db4d80 prog8 lib modules are now embedded resource files 2019-01-10 19:30:26 +01:00
Irmen de Jong
e3eace9e28 project folder restructure 2019-01-09 23:57:27 +01:00
Irmen de Jong
b2ecf16234 fixed some array length loop issues 2019-01-09 22:28:04 +01:00
Irmen de Jong
f1b2bd1cc4 got rid of separate '//' floordivision operator 2019-01-09 22:01:47 +01:00
Irmen de Jong
71e6497eed optimized some +1/-1 code 2019-01-09 03:11:01 +01:00
Irmen de Jong
46c282d6d5 created mkword function 2019-01-09 01:03:33 +01:00
Irmen de Jong
0ab0f02e75 optimized stuff 2019-01-09 00:25:02 +01:00
Irmen de Jong
58854ef45b doc fix 2019-01-08 02:25:22 +01:00
Irmen de Jong
0146a39ebb moved some more stuff around 2019-01-08 02:09:35 +01:00
Irmen de Jong
d5250a97c2 moved prog8lib into compiler directory 2019-01-08 01:47:59 +01:00
Irmen de Jong
b8b531276d fixed some shift opcode issues in stackvm, tweak mandelbrot example 2019-01-08 01:31:59 +01:00
Irmen de Jong
295f7a6c6e added unsigned versions of sin and cos (0..255, 0..65535) 2019-01-06 22:56:06 +01:00
Irmen de Jong
3b6ffc47b2 integer word division 2019-01-06 21:46:35 +01:00
Irmen de Jong
ebee8c128f fixed/optimized integer division and remainder 2019-01-06 19:04:09 +01:00
Irmen de Jong
214b100f96 fix array assignment stack error 2019-01-06 16:49:11 +01:00
Irmen de Jong
c2c1b43714 fix // expression error 2019-01-06 15:26:08 +01:00
Irmen de Jong
04bbdf5991 div and mult by a power of 2 are now optimized into shifts. Added bit shift operators << and >> 2019-01-06 08:20:22 +01:00
Irmen de Jong
e9704bdca1 arguments to sub calls should be type converted just as regular assignments do 2019-01-06 04:05:13 +01:00
Irmen de Jong
a43f81cad4 more efficient branch asm, and fixed jump/call asm 2019-01-06 03:32:47 +01:00
Irmen de Jong
775cdd451c subroutines are now wrapped in .proc/.pend for 64tass 2019-01-06 02:48:14 +01:00
Irmen de Jong
f803b4edc1 screen clear routines optimized 2019-01-06 02:11:16 +01:00
Irmen de Jong
d203bfaf25 normal division is always float, implemented (u)byte integer division 2019-01-06 01:43:47 +01:00
Irmen de Jong
cca94d41bc cube3d non float 2019-01-05 19:14:14 +01:00
Irmen de Jong
4f213191dc fix asm stack bug 2019-01-05 18:02:17 +01:00