On 12/17/2009 09:47 AM, malc wrote:
Urgh.. I really hate implementing those xxxx2 ops.See for example this lovely thread: http://www.archivum.info/qemu-devel@nongnu.org/2008-06/00306/%5BQemu-devel%5D_%5B4705%5D_Fix_div%5Bu%5D2.
Heh, that one's pretty nasty.But fwiw, you can just call into your brcond2 implementation for setcond2. There's a bit more work to do on sparc and mips because they'd prefer we filled the delay slots.
r~