[PATCH, i386]: Optimize ix86_atomic_assign_expand_fenv a bit

Uros Bizjak ubizjak@gmail.com
Mon Jul 14 08:11:00 GMT 2014


On Mon, Jul 14, 2014 at 10:05 AM, Kyrill Tkachov <kyrylo.tkachov@arm.com> wrote:

>> Attached patch optimizes ix86_atomic_assign_expand_fenv by using
>> register form of "fnstsw %ax" instead of "fnstsw <mem>". This way a
>> memory RW cycle is removed for a temporary.
>
> The patch you attached seems to be the hook implementation for alpha...

Eh, the complete i386 patch follows the alpha hook. I have diffed from
config/ directory instead of config/i386.

Uros.



More information about the Gcc-patches mailing list