From: Dave V. <va...@us...> - 2013-03-03 21:55:30
|
On Sun, Mar 3, 2013 at 1:54 PM, Dave Vasilevsky <va...@us...> wrote: > It looks like this should have identical effects, but it apparently > makes a difference. Any ideas what's going on? Ok, so it turns out that the difference is that dyngen looks for a 'ret' instruction to determine where the function ends. If the branches are arranged so that the 'ret' isn't actually at the end, it cuts the op short. Unfortunately, I can't find any way to force GCC to place the ret at the end of the function. Darn. I've filed an issue at github: https://github.com/cebix/macemu/issues/21 -Dave |