On Tuesday 18 May 2010 15:44:00 Philip Pemberton wrote:
> But it doesn't. It actually outputs:
>    8000_0000
>    0000_0000
>    2000_0000
>    1000_0000

Is the error present on both the board and QEMU emulation (btw Michael's port 
supports both Milkymist and the original Lattice environment)? Can you submit 
your complete code? Did you have a look at the disassembly? I reckon such a 
compiler toolchain problem would be easily spotted on the disassembler 
listing.

> Part of me wonders if this has something to do with all the Linux issues
> on the LM32... and it's making me all the more tempted to use a MIPS
> core instead.

LM32 is an outstanding HW design (contrary to most other open source CPUs), it 
would be quite a shame not to use it just because lm32-gcc is bad (and also 
could cause you hardware development issues...).
Did you have a look at LLVM?

Sébastien
_______________________________________________
http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org
IRC: #milkym...@freenode
Webchat: www.milkymist.org/irc.html
Wiki: www.milkymist.org/wiki

Reply via email to