On Sun, May 13, 2012 at 2:47 PM, Peter Gavin <[email protected]> wrote: > 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. >
Hi Pete This looks really good, very well done. > 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. Can you indicate which bits are and aren't working? Maybe a summary of some results on the opencores page would be good: http://opencores.org/or1k/Newlib_tool_chain_test_results (I put some stuff under gcc-4.8 maybe add a new section there) I recall you mentioning something about getting the no-delay-slot stuff running Linux - is this true? What's the status of GDB? I'd really like to see the sim in gdb. Can you also explain a bit more what each of these macros do? Maybe in comments. https://github.com/pgavin/or1k-src/blob/or1k/newlib/libc/machine/or1k/include/or1k-asm.h > > 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. Did you get or1ksim running the non-delay-slot code? I reckon maybe a run-time option for this would be great. Again very nice. If it looks like we can pass the GCC regression suite I'd be all for making this our mainline version. Cheers Julius _______________________________________________ OpenRISC mailing list [email protected] http://lists.openrisc.net/listinfo/openrisc
