An LZSAv2 decompressor for the 65816 CPU. Specifically targeting SFC/SNES, but should work on other systems.
Performance compared to the reference 65816 implementation:
Text file, 26582 -> 64115 bytes
SHVC-LZSA2/ROM decompressor:
Master clocks: 13951884 0.650s 98.697KB/s
CPU cycles: 2178471
Reference decompressor:
Master clocks: 43206022 2.012s 31.871KB/s
CPU cycles: 5558506
Add more tests and benchmarks.