This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, i386]: Optimize ix86_atomic_assign_expand_fenv a bit
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 14 Jul 2014 10:11:10 +0200
- Subject: Re: [PATCH, i386]: Optimize ix86_atomic_assign_expand_fenv a bit
- Authentication-results: sourceware.org; auth=none
- References: <CAFULd4aEXGU+3ZRTf9Hwh5uu6vX071MZnAw_Q9A1zAwiYL-R+g at mail dot gmail dot com> <53C38F48 dot 6000200 at arm dot com>
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.