The main remaining problem in conversion with precision is a poorly predicted branch that check for one extra digit.
Падабаецца 0
Рэпосты 0
Is your current implementation small enough to fit into µ-code?
The mnemonic 'd2a' (hex D2 0A ...) comes to mind.
Just thinking out loud...
Падабаецца 0
Рэпосты 0
@DanielaKEngert not RISCy enough
Падабаецца 0
Рэпосты 0
CISC is the solution.
More than 40 years ago, while still at university, I built together with a few fellow students a computer around the NS32000 processor: full 3-address machine, every operand type and addressing mode (for each of the three) you could imagine (including 'module' !). CISC through and through.
While we built the PASCAL compiler for it, we noticed that code generation was pretty much a 1 to 1 translation from simple PASCAL to machine code 😊😎
Падабаецца 0
Рэпосты 0
@DanielaKEngert very cool!
Падабаецца 0
Рэпосты 0
Antifascista)