1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-14 23:04:57 +00:00
Commit Graph

716 Commits

Author SHA1 Message Date
Jesper Gravgaard
73afb3d1be Moved expression operators to separate classes. 2018-03-05 23:49:09 +01:00
Jesper Gravgaard
7876b98573 Caching alive combinations for better performance. 2018-03-05 10:45:07 +01:00
Jesper Gravgaard
133f8603c7 Fixed precedence problems for casts and inc/dec 2018-03-05 10:10:56 +01:00
jespergravgaard
f4196b9e67 Fixed log 2018-03-05 01:14:10 +01:00
jespergravgaard
f31eb7b1f0 Added scaled sin generator - found problem with cast & precedence. 2018-03-05 01:00:33 +01:00
jespergravgaard
0663888a3f Added initial min/max sin-generator. 2018-02-26 23:00:10 +01:00
jespergravgaard
d5fd4a41c3 Fixed loop problem. 2018-02-25 19:27:36 +01:00
jespergravgaard
53d021bae3 Added second 8-bit sinus test (against 16-bit sinus) 2018-02-25 14:35:20 +01:00
jespergravgaard
2789361724 Fixed 8-bit sinus implementation. 2018-02-25 14:07:44 +01:00
jespergravgaard
7d26c74c21 Added initial 8-bit sinus (not quite working yet.) 2018-02-25 11:10:50 +01:00
jespergravgaard
97bc9870f9 Syntax changes 2018-02-25 00:39:19 +01:00
jespergravgaard
651de919b3 Comment fixed 2018-02-25 00:10:10 +01:00
jespergravgaard
73bdd4ff8d Optimized sin /128 part. 2018-02-25 00:08:11 +01:00
jespergravgaard
f0917c7bed Optimized ZP coalesce vastly. 2018-02-24 21:06:25 +01:00
jespergravgaard
1ec9060962 Added clobber test to ZP coalesce 2018-02-24 14:12:37 +01:00
jespergravgaard
a87a97c669 Moved sin to separate method. 2018-02-24 13:02:15 +01:00
jespergravgaard
948db1a389 Fixed lo/hi test 2018-02-24 08:14:01 +01:00
jespergravgaard
028fd75878 Fixed > & < for pointers. 2018-02-24 00:54:12 +01:00
jespergravgaard
b3537e3b66 Implemented full -$7fff-$7fff range word sinus generator. 2018-02-24 00:46:25 +01:00
jespergravgaard
6702baa875 Fixed lo/hi of dwords in constants. 2018-02-23 22:15:10 +01:00
jespergravgaard
37bfd18716 Working a bit on the sinus table generator. 2018-02-20 23:12:39 +01:00
jespergravgaard
696d1a1f5f Working a bit on sinus table generator. Tested resulting sinus - it is within +/-2 of a java-calculated sinus. 2018-02-20 22:41:36 +01:00
jespergravgaard
db603554ac Using reciprocal multiplication for divisions inside loop. 2018-02-20 10:53:31 +01:00
jespergravgaard
d3070fec14 Implemented first sinus generator using sinx=x-x^/3!+x^/5!. 2018-02-19 08:29:47 +01:00
jespergravgaard
a695a94422 Extended linear table gen with two tables. 2018-02-18 20:41:36 +01:00
jespergravgaard
b5dfef7368 Optimized line table generator. Improved const identification in phi-values. 2018-02-18 19:52:51 +01:00
jespergravgaard
0478bc7404 Limited label usage for constant integers referenced outside scope. Optimized division. 2018-02-18 19:39:08 +01:00
jespergravgaard
d3898d717e Using labels for constant integers referenced outside scope. 2018-02-18 17:49:03 +01:00
jespergravgaard
76d3e25b84 Implemented inline dword constructor dword dw = { wl, wh }; 2018-02-18 15:35:17 +01:00
jespergravgaard
0c7883532e Split multiply tests for performance 2018-02-16 08:59:54 +01:00
jespergravgaard
8f21ffc0e4 Implemented signed word multiplication & test. 2018-02-16 01:13:57 +01:00
jespergravgaard
34d3c732da Implemented word multiplication 2018-02-15 20:36:26 +01:00
jespergravgaard
b5a79848f3 Implemented dword ASM and printing 2018-02-15 19:50:33 +01:00
jespergravgaard
8b54f38640 Implemented bitshift signed byte multiply. 2018-02-15 12:35:40 +01:00
Jesper Gravgaard
c936da289e Implemented normal binary multiply for unsigned integers - mul8u(). 2018-02-14 11:30:31 +01:00
Jesper Gravgaard
a6f32bea13 Renamed multiply.kc to fastmultiply.kc - and methods multiply()/signed_multiply() to mulf8u(), mulf8s() 2018-02-14 10:05:18 +01:00
Jesper Gravgaard
7900c846c9 Adde useful comment 2018-02-13 23:21:24 +01:00
Jesper Gravgaard
3eb08597cf Implemented 16bit signed division. 2018-02-13 23:10:47 +01:00
Jesper Gravgaard
1fd0cd6874 Moved remainder to global var 2018-02-13 22:07:01 +01:00
Jesper Gravgaard
8705527316 Fixed conflict 2018-02-13 21:40:52 +01:00
Jesper Gravgaard
a50d685574 Fixed problem with phi lifting not updating predecessor in phi blocks when introducing new blocks. Implemented signed division for bytes. 2018-02-13 21:27:17 +01:00
jespergravgaard
1feed93b43 Renamed long branch fix label. 2018-02-13 13:05:46 +01:00
jespergravgaard
aec15a3125 Removed a bit of unused code. 2018-02-13 12:46:35 +01:00
jespergravgaard
c8a2d03550 Fixed register coalesce issues (Double.MIN_VALUE is unexpectedly positive). 2018-02-13 04:23:44 +01:00
jespergravgaard
9f80f71c64 Isolated KickAss assembly during test. Fixed long branches. Closes #62 2018-02-13 03:34:21 +01:00
jespergravgaard
2db042801b Isolated KickAss assembly during test. Fixed long branches. Closes #62 2018-02-13 03:34:01 +01:00
jespergravgaard
0d6ce93e93 Added KickAss assembly to Test 2018-02-12 23:41:46 +01:00
jespergravgaard
5986b1d879 Added test coverage 2018-02-12 22:53:21 +01:00
jespergravgaard
e9ef366276 Added test coverage 2018-02-12 22:42:16 +01:00
jespergravgaard
311df89cf0 Added local folder repository 2018-02-12 22:26:15 +01:00