Irmen de Jong
|
641f6c05d8
|
allow 'void' as dummy assign target in multi-assignment statements
|
2024-03-31 23:43:26 +02:00 |
|
Irmen de Jong
|
3e34a3ef72
|
allow multi-assign to skip any status register result
|
2024-03-29 23:10:08 +01:00 |
|
Irmen de Jong
|
9a27505315
|
6502 codegen for multi-assigns
|
2024-03-25 22:17:31 +01:00 |
|
Irmen de Jong
|
66e7c51064
|
IR: fix some things related to asmsubs
|
2024-03-22 21:49:01 +01:00 |
|
Irmen de Jong
|
1fc79ff6dd
|
implement the missing in-place array operators for split word arrays and numeric operand
|
2024-03-13 21:16:49 +01:00 |
|
Irmen de Jong
|
820541e427
|
fixed and optimized pointervar indexed in-place operations
|
2024-03-11 23:27:48 +01:00 |
|
Irmen de Jong
|
80f39e8097
|
Merge branch 'booleans'
# Conflicts:
# compiler/res/prog8lib/cx16/monogfx.p8
# compiler/res/prog8lib/virtual/monogfx.p8
# compiler/src/prog8/compiler/astprocessing/BoolRemover.kt
# compiler/test/TestTypecasts.kt
# docs/source/todo.rst
# examples/cx16/highresbitmap.p8
# examples/test.p8
# httpCompilerService/src/prog8/http/TestHttp.kt
|
2024-03-11 01:00:48 +01:00 |
|
Irmen de Jong
|
fc0fae8caf
|
tweak the redundant beq asm optimizer a bit more
|
2024-03-09 00:05:06 +01:00 |
|
Irmen de Jong
|
04f7b772a3
|
lib updates, removed unused and obsolete http and dbus modules
|
2024-03-05 23:42:35 +01:00 |
|
Irmen de Jong
|
9f1bd2d7d6
|
asmoptimizer that removes redundant branches on boolean in A
|
2024-03-05 20:37:15 +01:00 |
|
Irmen de Jong
|
9826d7c494
|
optimize certain boolean comparisons more
|
2024-03-05 03:09:53 +01:00 |
|
Irmen de Jong
|
e55cde2a81
|
more nonstrictbool conversions
|
2024-03-03 19:43:48 +01:00 |
|
Irmen de Jong
|
da1620807f
|
fixed all todos in ifelse gen
|
2024-03-03 12:10:42 +01:00 |
|
Irmen de Jong
|
f39ef8f565
|
optimize byte comparison assignment to use rol trick instead of branching
|
2024-03-03 00:01:14 +01:00 |
|
Irmen de Jong
|
fe8b6e820c
|
getting rid of problematic fallback (infinite recursion)
|
2024-03-02 23:19:55 +01:00 |
|
Irmen de Jong
|
f29d24e96a
|
fixup split words array comparisons
|
2024-03-02 23:19:55 +01:00 |
|
Irmen de Jong
|
620ffe54ec
|
asm optimizer: don't remove labels. remove redundant cmp/cpx/cpy instructions.
|
2024-03-02 23:19:53 +01:00 |
|
Irmen de Jong
|
ceaa4cd07d
|
array issue
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
af17f903ee
|
fix that if not fcall() wasn't transformed to a conditional branch instruction
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
dba0846866
|
optimize word >, word <=
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
bed629998a
|
fix large code for some compares
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
bc2ede76bf
|
tweak to byte compares
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
2a1fec2ed2
|
fix codegen error for comparisons
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
b941d6f1e4
|
new comparison tests
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
37b346740b
|
fix 6502 casting uword and float to bool
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
f5e332daf7
|
remove redundant IR instructions like SNZ
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
fe9a9fc5cb
|
new if tests
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
a1574a7187
|
added txt.print_bool, several fixes
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
006713fe13
|
optimize boolean to ubyte assignment (skip type cast)
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
7868e672e0
|
ifelse more
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
e1a133c2c0
|
ifelse more
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
c77cd0da39
|
ifelse more
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
577333f2c4
|
new ifelse codegen
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
7d8cdcbfea
|
more bool fixes and optimizations in codegen
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
c5c4c6f111
|
start of new ifelse
|
2024-03-02 23:19:39 +01:00 |
|
Irmen de Jong
|
acd841dbb6
|
bool changes in 6502 assignment codegen
|
2024-03-02 23:19:37 +01:00 |
|
Irmen de Jong
|
6b52ba9397
|
6502 asmgen
|
2024-03-02 23:19:20 +01:00 |
|
Irmen de Jong
|
41afeccd51
|
compiler stuff
|
2024-03-02 23:19:20 +01:00 |
|
Irmen de Jong
|
bc2b38daf4
|
added PtBool and other changes to intermediate Ast
|
2024-03-02 23:19:20 +01:00 |
|
Irmen de Jong
|
f40b7b62bb
|
updated unit tests and some basic changes for them
|
2024-03-02 23:19:20 +01:00 |
|
Irmen de Jong
|
c48012c385
|
tweak ifelse > and <= order
|
2024-03-02 17:01:31 +01:00 |
|
Irmen de Jong
|
a282b17286
|
added asm optimizer for <= byte (bcc+beq->bcs)
|
2024-03-02 15:34:54 +01:00 |
|
Irmen de Jong
|
58d9463f16
|
consolidate word comparison codegen
|
2024-03-02 14:00:12 +01:00 |
|
Irmen de Jong
|
047decd552
|
consolidate byte comparison codegen
|
2024-03-01 22:21:22 +01:00 |
|
Irmen de Jong
|
4e1686f6e3
|
fix warnings in gradle build scripts
|
2024-02-22 10:34:51 +01:00 |
|
Irmen de Jong
|
88458f5355
|
faster array copy and fix for length 256
|
2024-02-11 23:57:38 +01:00 |
|
Irmen de Jong
|
8201408f16
|
fix element size calc when copying array
|
2024-02-10 22:58:44 +01:00 |
|
Irmen de Jong
|
5522a305ab
|
add -dumpvars option to dump all allocated variables (zp, normal ram, etc)
|
2024-02-10 18:42:31 +01:00 |
|
Irmen de Jong
|
d7f72056fc
|
rest of the array copying
|
2024-02-10 17:16:06 +01:00 |
|
Irmen de Jong
|
906d9d858c
|
implementing the array copys
|
2024-02-10 01:40:36 +01:00 |
|