https://bugs.dolphin-emu.org/https://bugs.dolphin-emu.org/favicon.ico?12018-08-09T09:34:12ZDolphin bug trackerEmulator - Emulator Issues #11333: Dolphin's JIT can't handle LLVM codehttps://bugs.dolphin-emu.org/issues/11333?journal_id=7344052018-08-09T09:34:12ZJMC4789JMC4789@gmail.com
<ul></ul><p>If you can compile Dolphin, could you try turning off various JIT optimizations in the PPCAnalyst? Maybe one of those are triggering a bug.</p>
Emulator - Emulator Issues #11333: Dolphin's JIT can't handle LLVM codehttps://bugs.dolphin-emu.org/issues/11333?journal_id=7344102018-08-09T23:14:22ZCryZe92CryZe92@gmail.com
<ul></ul><p>JMC4789 wrote:</p>
<blockquote>
<p>If you can compile Dolphin, could you try turning off various JIT optimizations in the PPCAnalyst? Maybe one of those are triggering a bug.</p>
</blockquote>
<p>I turned off all of these and it's still happening: <img src="https://i.imgur.com/jSIJroU.png" alt="https://i.imgur.com/jSIJroU.png" /></p>
Emulator - Emulator Issues #11333: Dolphin's JIT can't handle LLVM codehttps://bugs.dolphin-emu.org/issues/11333?journal_id=7344162018-08-10T21:57:35Zdelrothdelroth@gmail.com
<ul></ul><p>Any way you could just provide this as an ELF with symbols instead of a DOL? Would make things a bit easier. Thanks.</p>
Emulator - Emulator Issues #11333: Dolphin's JIT can't handle LLVM codehttps://bugs.dolphin-emu.org/issues/11333?journal_id=7344212018-08-10T23:17:05Zdelrothdelroth@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Fix pending</i></li><li><strong>Assignee</strong> set to <i>delroth</i></li></ul><p><a href="https://github.com/dolphin-emu/dolphin/pull/7315" class="external">https://github.com/dolphin-emu/dolphin/pull/7315</a> fixes your test case.</p>
<p>In general LLVM generates some very CR-heavy code, which is unlike Metrowerks and GCC. As such it's going to hit a lot of rarely used code in our JIT. I wouldn't be surprised if you found a few more issues like that :)</p>
<p>The reduced repro was super useful, thanks a lot!</p>
Emulator - Emulator Issues #11333: Dolphin's JIT can't handle LLVM codehttps://bugs.dolphin-emu.org/issues/11333?journal_id=7344222018-08-11T00:26:31Zdelrothdelroth@gmail.com
<ul><li><strong>Status</strong> changed from <i>Fix pending</i> to <i>Fixed</i></li></ul>