Commit graph

2 commits

Author SHA1 Message Date
Michel Heily a18ea022cd arm7tdmi: Small optimizations
Former-commit-id: 3348eae804c85f49231aa95e6436655c1a7c692f
2020-04-10 00:36:10 +03:00
Michel Heily fb93ebb4ed feat/arm7tdmi_dispatch_table: Done!
Moved away from using lazy_static for this one since every access to a
lazy_static reference adds a runtime check, Currently using a build.rs script to generate a const table instead.

Worked out the ARM decoding issues, seems to run fine now.

Though the dynamic decoding for ARM is broken now since I had to change things in Data Processing and MSR instructions

TODO use `const fn` when it becomes stable


Former-commit-id: ba09748ff74a403c7016adcbe0ca553b591f6855
2020-04-07 02:31:13 +03:00