Irmen de Jong
|
ff7f3484e4
|
atan
|
2023-06-17 23:01:47 +02:00 |
|
Irmen de Jong
|
c0b398e0ce
|
add various math.atan() routines
|
2023-06-17 00:43:33 +02:00 |
|
Irmen de Jong
|
ba25b7fee6
|
fix diskio.diskname(). cx16: add diskio.curdir()
|
2023-06-07 22:38:51 +02:00 |
|
Irmen de Jong
|
380f557c45
|
vm: implement split incr/decr
|
2023-06-03 22:22:13 +02:00 |
|
Irmen de Jong
|
9314c346da
|
-target option is now required; c64 no longer the default
|
2023-06-03 19:14:45 +02:00 |
|
Irmen de Jong
|
bfaad1388c
|
IR: handle split arrays without new custom opcodes
|
2023-06-03 01:51:02 +02:00 |
|
Irmen de Jong
|
bb35a80177
|
%option splitarrays now also at module level
|
2023-05-31 21:50:41 +02:00 |
|
Irmen de Jong
|
24fc95ac81
|
fix atari target syslib
|
2023-05-31 20:58:00 +02:00 |
|
Irmen de Jong
|
bb9d29b061
|
fix an array literal assignment type error for word arrays
|
2023-05-30 22:46:37 +02:00 |
|
Irmen de Jong
|
b9d8ec1463
|
add -splitarrays command line option
|
2023-05-30 19:08:34 +02:00 |
|
Irmen de Jong
|
bbc02752c9
|
use split word arrays in various examples, fix codegen issue, docs
|
2023-05-29 15:34:33 +02:00 |
|
Irmen de Jong
|
82898f7bba
|
fix some split array issues in 6502 codegen
|
2023-05-28 22:24:56 +02:00 |
|
Irmen de Jong
|
3ac9036c79
|
more split array stuff for 6502
|
2023-05-27 22:44:45 +02:00 |
|
Irmen de Jong
|
c94e292176
|
more split array stuff
|
2023-05-27 12:47:11 +02:00 |
|
Irmen de Jong
|
52a77db60f
|
adding split array type
|
2023-05-26 19:11:07 +02:00 |
|
Irmen de Jong
|
0c94e377fc
|
Merge branch 'v8_maintenance'
|
2023-05-21 16:09:31 +02:00 |
|
Irmen de Jong
|
c69c17de42
|
cx16 avoid ram bank issue with RDTIM in sys.wait() and c64.RDTIM16()
|
2023-05-21 15:03:33 +02:00 |
|
Irmen de Jong
|
7215efe167
|
fix expr eval error in certain situations
such as pokew() with 2 complex operands
|
2023-05-20 17:42:35 +02:00 |
|
Irmen de Jong
|
b43223cb7a
|
added clamp() builtin function and floats.clampf()
|
2023-05-17 23:12:58 +02:00 |
|
Irmen de Jong
|
1af38e62bc
|
removed floats.fabs() and floats.sqrt()/fsqrt()
|
2023-05-17 00:46:15 +02:00 |
|
Irmen de Jong
|
f37f062cdc
|
fix for loop pre-check
|
2023-05-17 00:33:55 +02:00 |
|
Irmen de Jong
|
7e734214dc
|
v8_maintenance branch made
|
2023-05-15 23:01:43 +02:00 |
|
Irmen de Jong
|
630c8a5faa
|
IR: fix romsub encoding
|
2023-05-14 18:08:06 +02:00 |
|
Irmen de Jong
|
905921a684
|
IR: new (sys)call instructions that encapsulate the full subroutine call
to fix the bugs resulting from nesting subroutine calls (as param to another call etc)
|
2023-05-14 15:20:25 +02:00 |
|
Irmen de Jong
|
bff3c4f95c
|
IR now converts IRInlineAsmChunk (of type IR) into regular code chunks directly.
.p8ir files usually won't contain <INLINEASM> nodes any longer
|
2023-05-09 21:04:31 +02:00 |
|
Irmen de Jong
|
4c8898a639
|
fix typecheck crash on certain byte to word assignments
|
2023-05-08 23:02:48 +02:00 |
|
Irmen de Jong
|
97df33ab1a
|
IR: fix byte to word assignment not doing value extension
|
2023-05-08 22:47:00 +02:00 |
|
Irmen de Jong
|
d5d6dd3614
|
optimize typecast expr
|
2023-05-08 03:30:14 +02:00 |
|
Irmen de Jong
|
6c233c6a0a
|
optimize add/sub expr
|
2023-05-08 02:41:34 +02:00 |
|
Irmen de Jong
|
6db715d879
|
optimize multiplication expr
|
2023-05-08 02:10:54 +02:00 |
|
Irmen de Jong
|
ab02e8a546
|
optimize more carry flag assembly
|
2023-05-07 23:55:34 +02:00 |
|
Irmen de Jong
|
8cbfe64f19
|
optimize some carry flag assembly
|
2023-05-07 23:27:49 +02:00 |
|
Irmen de Jong
|
68336a76c5
|
optimized word comparison expressions
|
2023-05-07 20:40:48 +02:00 |
|
Irmen de Jong
|
393e914a86
|
optimized word equality comparison expressions
|
2023-05-07 18:55:17 +02:00 |
|
Irmen de Jong
|
ffb54110e9
|
optimized byte comparison expressions
|
2023-05-07 15:15:58 +02:00 |
|
Irmen de Jong
|
f465b2e2a0
|
some improvements to IR peephole optimizer
|
2023-05-02 00:29:04 +02:00 |
|
Irmen de Jong
|
9cdd5fe7f2
|
fix byte to word sign extension error in certain cases
|
2023-04-29 17:14:50 +02:00 |
|
Irmen de Jong
|
5b2d29bef6
|
improved and added a few system routines for the cx16
|
2023-04-18 23:20:28 +02:00 |
|
Irmen de Jong
|
efd7d6f0c0
|
tweak IR call args setting now via special SETPARAM instruction
|
2023-04-14 02:10:39 +02:00 |
|
Irmen de Jong
|
7c1d5cadd7
|
fix sort and reverse on strings on 6502 codegen
|
2023-04-10 19:33:24 +02:00 |
|
Irmen de Jong
|
dd1592b03b
|
ir syscalls args via stack instead of fixed r65500+
|
2023-04-10 18:02:37 +02:00 |
|
Irmen de Jong
|
9b952fbc44
|
tweaking IR instruction set branch instructions
|
2023-04-09 22:17:19 +02:00 |
|
Irmen de Jong
|
5665a7f0cb
|
also track ir reg types
|
2023-04-07 22:24:17 +02:00 |
|
Irmen de Jong
|
4a0f15eb88
|
some loose ends
|
2023-04-06 21:19:21 +02:00 |
|
Irmen de Jong
|
d8214d4f12
|
fix IR array indexing for newexpr
|
2023-04-03 03:13:35 +02:00 |
|
Irmen de Jong
|
47d0f0ea40
|
implement missing operators in IR code gen
|
2023-04-01 02:29:33 +02:00 |
|
Irmen de Jong
|
d936568b76
|
added divmod() and divmodw() builtin functions to efficiently compute division and remainder in a single call
|
2023-03-29 23:46:44 +02:00 |
|
Irmen de Jong
|
01461a196d
|
implementing optimized comparisons
|
2023-03-25 00:08:21 +01:00 |
|
Irmen de Jong
|
04832f052a
|
working on doing comparison codegen differently
|
2023-03-25 00:08:21 +01:00 |
|
Irmen de Jong
|
d265271148
|
fix rpn variable depth clobber and type error
|
2023-03-20 22:18:10 +01:00 |
|