On Tue, Nov 01, 2011 at 10:33:07PM +0100, Uros Bizjak wrote: > We have a nice utility function that can be used in int->float > splitter constraints. > > 2011-11-01 Uros Bizjak <ubiz...@gmail.com> > > * config/i386/i386.md (splitters for int-float conversion): Use > reg_or_subregno in splitter constraints. > > Bootstrapped and regression tested on x86_64-pc-linux-gnu {,-m32}, > committed to mainline SVN.
Unfortunately reg_or_subregno is an external non-inline function, doesn't have pure attribute and SSE_REGNO_P macro evaluates its argument twice, which means the function is called multiple times. Jakub