On 19.03.2013, at 19:32, Richard Henderson wrote: > On 03/19/2013 10:20 AM, Fabien Chouteau wrote: >> Cleaner solution indeed. I'll do the opposite, store_fpscr calls >> helper_store_fpscr. > > The declarations won't be in the right places for that to work right. > > Canonically, cpu_store_fpscr should be declared in cpu.h, have the leading > "cpu_" prefix, and then helper_store_fpscr is declared (via macro) in helper.h > and its definition should call the cpu.h function.
Heh :) Fabien did a clever workaround that one in his v2. Mind to check whether it's ok for you? Alex