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
|
c532e28841
|
fix several remaining bool return values in library routines
|
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
|
004048e5a7
|
fix IR codegen error for b=float>value
|
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
|
a5110b1f96
|
improved De Morgan rewrite rules
|
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
|
10d12f73d6
|
IR/VM: testing the boolean changes, added in-place and/or.
|
2024-03-02 23:19:20 +01:00 |
|
Irmen de Jong
|
cd9119655c
|
IR codegen
|
2024-03-02 23:19:20 +01:00 |
|
Irmen de Jong
|
92527b4c1d
|
examples: add ==0 or !=0 to expressions that depend on implicit conversion from byte to bool
|
2024-03-02 23:19:18 +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
|
82e0877e64
|
readme
|
2024-03-01 00:41:11 +01:00 |
|
Irmen de Jong
|
040d75dafa
|
VM now supports indirect jump instruction
|
2024-02-22 16:19:26 +01:00 |
|
Irmen de Jong
|
b5e691f367
|
IR: fix chunk reachability: via unchopped chunk label directly so that they don't get removed
|
2024-02-21 23:18:57 +01:00 |
|
Irmen de Jong
|
325f55f22d
|
doc refs duplicates fix
|
2024-02-21 21:29:17 +01:00 |
|
Irmen de Jong
|
8ff10724d1
|
fix some docs hyperlinks
|
2024-02-21 17:11:36 +01:00 |
|
Irmen de Jong
|
b27368175d
|
get rid of problematic rewrite of certain for loops that were causing the end expression to be evaluated every loop iteration
|
2024-02-20 21:03:21 +01:00 |
|
Mike McGann
|
a3fa946300
|
fix typo: reaturn -> return (#126)
|
2024-02-18 22:25:26 +01:00 |
|
adiee5
|
58e1864144
|
Mention AUR package in documentation (#125)
Additionally, small fixes it nano highlighting
|
2024-02-12 20:42:00 +01:00 |
|
Irmen de Jong
|
a4f697bae1
|
faster
|
2024-02-10 23:56:55 +01:00 |
|
Irmen de Jong
|
8b8caa1c2e
|
added math.randrange() and math.randrangew()
|
2024-02-10 22:16:13 +01:00 |
|
Irmen de Jong
|
4dc50cb551
|
fix unused subroutine removal not removing all unused subs
|
2024-02-10 21:26:53 +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 |
|
Irmen de Jong
|
6c8c8e11cc
|
fix cpu register overwrites when using @(...) arguments to an asmsub
|
2024-02-09 19:55:35 +01:00 |
|
Irmen de Jong
|
e941d2665a
|
preparing for new array copy codegen
|
2024-02-09 18:22:41 +01:00 |
|
Irmen de Jong
|
68669dbef0
|
fix & of pointervar indexing
|
2024-02-08 23:03:53 +01:00 |
|
Irmen de Jong
|
6a48de9a9f
|
IR: fix & of array-element
|
2024-02-08 21:27:53 +01:00 |
|