libcpu with m88k

I recently downloaded and installed the libcpu package (from that uses llvm as the backend on my linux machine. I have a piece of Motorola 88100 code (essentially the output of the 176.gcc benchmark from SPEC CPU 2000) that I am trying to run using this emulator, but I am running into errors when trying to run it.

Has anyone been able to successfully use the m88k emulator from libcpu? Any suggestions/tips on how to get it working would be greatly appreciated.


What kinds of errors are you getting?

To give a little more background, the file that I am trying to run is an m88k assembly file. So, I run it as

./build/libcpu test_m88k assembly file

It prints a huge llvm assembly file first and then aborts giving the following error.

test_m88k: ScheduleDAGRRList.cpp:244: void<unnamed>::ScheduleDAGRRList::ScheduleNodeBottomUp(llvm::SUnit*, unsigned int): Assertion `CurCycle >= SU->getHeight() && "Node scheduled below its height!"' failed.
Stack dump:
0. Running pass 'X86 DAG->DAG Instruction Selection' on function '@jitmain'

Does this give you any ideas?