On 12/04/2017 09:17, Emilio G. Cota wrote: > > The fact that NBench is not very sensitive to changes here is a > little surprising, especially given the significant improvements for > ARM shown in the previous commit. I wonder whether the compiler is doing > a better job compiling the x86_64 version (I'm using gcc 5.4.0), or I'm simply > missing some i386 instructions to which the jr optimization should > be applied.
Maybe it is "ret"? That would be a straightforward "bx lr" on ARM, but it is missing in your i386 patch. Paolo