Commit Graph

22 Commits

Author SHA1 Message Date
Chris Pressey 5f8802b305 Arrange license info in repo to follow REUSE 3.0 convention. 2024-02-02 12:10:23 +00:00
Chris Pressey ea788264f7 Make test as intended. It fails atm. Simplify driver code. 2019-10-22 10:18:56 +01:00
Chris Pressey 2e2e80664e Forbid nested `with interrupts` blocks, and more refactoring. 2019-05-14 15:01:10 +01:00
Chris Pressey 8efa73f79d Explicitly sort the chains by their content, for stable sort. 2018-09-06 17:15:10 +01:00
Chris Pressey 10062fe2fb Fix whitespace (but not sorting) issue in --dump-fallthru-info. 2018-09-06 16:32:48 +01:00
Chris Pressey 4bba75857f --output cmdline argument, serialize() returns an array of bytes. 2018-09-06 16:18:41 +01:00
Chris Pressey 89fa8361a8 Remove --prelude, reform and document --output-formats. 2018-04-23 13:18:01 +01:00
Chris Pressey 475584769d Add more test cases. 2018-04-06 14:08:09 +01:00
Chris Pressey a5d946734a Add more tests. Apparently our algorithm does not do a good job. 2018-04-06 13:24:04 +01:00
Chris Pressey 27df0d27db Optimize away `RTS` and `JMP` when possible. Fallthru stuff done. 2018-04-05 14:10:04 +01:00
Chris Pressey 2ca843ece7 Begin hooking the fallthru analysis up to the compilation phase. 2018-04-05 10:52:14 +01:00
Chris Pressey ac24f98dd3 Vastly simplify the fallthru analysis algorithm. 2018-04-05 09:57:14 +01:00
Chris Pressey 7fa54f53cb Serialize main first. However, this could use a fresh approach. 2018-04-04 17:55:59 +01:00
Chris Pressey 9c68b6a7e0 Serialize routines with in() sets first, and in the right order. 2018-04-04 17:49:50 +01:00
Chris Pressey cab84b8ebe Change the serialization format to be (hopefully) clearer. 2018-04-04 17:05:48 +01:00
Chris Pressey b1bcc21ffc Go slightly further with the serialization. 2018-04-04 16:22:14 +01:00
Chris Pressey 30e839033c First cut at serialization of fallthru-optimized routines. 2018-04-04 15:09:48 +01:00
Chris Pressey 448849ac4b Successfully break cycle. 2018-04-04 14:01:17 +01:00
Chris Pressey 50433ac860 Find cycles in fallthru map. Try to break them; not right, yet. 2018-04-04 13:37:32 +01:00
Chris Pressey d883816298 --optimize-fallthru and --dump-fallthru-info options. 2018-04-04 11:54:50 +01:00
Chris Pressey 2be4406964 Flesh out and describe the fallthru optimization algorithm. 2018-04-04 10:15:06 +01:00
Chris Pressey 8f1e35fb39 Add some tests, some failing, for expected fallthru maps. 2018-03-29 16:44:06 +01:00