Hi guys, So I just pushed to my repos on github a bunch of changes for both the CGEN simulator and making the delay slot optional.
Everything seems to work pretty well so far. Almost all of the GCC testsuite passes using the CGEN simulator, both with and without the delay slot. I also added a DejaGNU port for the simulator, which makes it easy to use without having to keep a separate config file around. The repos are here: [email protected]:pgavin/or1k-src.git [email protected]:pgavin/or1k-gcc.git [email protected]:pgavin/or1k-dejagnu.git (Note that I've renamed the gcc repo, you might have to update your git remotes.) If you configure with --target=or1knd-elf, you get the non-delay slot version. But you can compile it for either target, and use the -mdelay, -mno-delay, or -mcompat-delay options for gcc to control what kind of code is generated. You can see here for more information on it: http://opencores.org/or1k/Architecture_Specification#Delay_Slot_Optional If you want to run the GCC testsuite with the CGEN simulator, install the or1k-dejagnu package and run: make check RUNTESTFLAGS="--target_board=or1k-sim" Let me know if you have any questions. -Pete _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
