Compiler Update

Topics: General
Jun 12, 2009 at 3:40 AM
Edited Jun 12, 2009 at 3:41 AM


The forum has been pretty quiet lately but I wanted to report there has been some very good progress on the compiler.

We resolved some trickily bugs associated with the stack analysis for operand determination, switch statements, and a few other less serious bugs. It has fixed several underlying bugs with some of the test cases and allowed us to turn back on the block flow optimizations without any regressions.

Rootnode has been tackling the failed test cases - almost down to 125 out of 4495. He has also worked on a flow control diagram generator which shows the relationships between blocks and the execution paths. It's helped diagnose some of the issues with the compiler.

At this point we are focused on resolving the remaining failed test cases, identifying any more problems with the flow analysis, and expanding the CIL to X86 translations. I’m hope we get to tackle the newobj operator shortly.

On another note, we now have a bootable ISO image. Just compile the MOSA project and execute the CompileHelloWorld.bat script. The ISO file will be created in the build directory. Rootnode used this to create a bootable USB with MOSA and run it on *real* hardware.